Changes

Jump to: navigation, search

Programming:Next / previous line calculation

205 bytes added, 10:43, 16 January 2016
/* Firmware */
call SCR_NEXT_LINE
 
 
ACTUAL #BC26 ROUTINE FOLLOWS:
 
ld a,h:add #08:ld h,a:and #38:ret nz
ld a,h:sub #40:ld h,a:ld a,l:add reg1*2:ld l,a:ret nc ;reg1= CRTC reg.1 value
inc h:ld a,h:and #07:ret nz
ld a,h:sub #08:ld h,a:ret
 
 
</pre>
2,912
edits