Jump to content

Photo

XB256 - Which address for VDP signal on/off?


26 replies to this topic

#26 RXB OFFLINE  

RXB

    River Patroller

  • 3,402 posts
  • Location:Vancouver, Washington, USA

Posted Sun Dec 2, 2018 1:47 AM

Nice that worked:

 

CALL POKER(1,-96) :: CALL KEY("",0,K,S)::CALL POKER(1,-32)



#27 senior_falcon OFFLINE  

senior_falcon

    Stargunner

  • 1,275 posts
  • Location:Lansing, NY, USA

Posted Mon Dec 3, 2018 10:06 PM

POKER seems perfectly adequate to handle this task and the user can handle sprite magnification when the screen is enabled:

CALL POKER(1,-32) = enable screen and CALL MAGNIFY(1)

CALL POKER(1,-31) = enable screen and CALL MAGNIFY(2)

CALL POKER(1,-30) = enable screen and CALL MAGNIFY(3)

CALL POKER(1,-29) = enable screen and CALL MAGNIFY(4)

 

 

Similarly, with XB256, after disabling the limit check with CALL LOAD(14864,128), you would use these values:

CALL LINK("SCREEN",-1327) = enable screen and CALL MAGNIFY(1)

CALL LINK("SCREEN",-1326) = enable screen and CALL MAGNIFY(2)

CALL LINK("SCREEN",-1325) = enable screen and CALL MAGNIFY(3)

CALL LINK("SCREEN",-1324) = enable screen and CALL MAGNIFY(4)

 

You disable the screen with CALL LINK("SCREEN",-1391)


Edited by senior_falcon, Mon Dec 3, 2018 10:15 PM.





0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users