Currying: Difference between revisions
m
→{{header|Z80 Assembly}}
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) |
||
Line 2,240:
=={{header|Z80 Assembly}}==
{{works with|Amstrad CPC}}
The BIOS call <code>&BB75</code> takes HL as input (as if it were an x,y coordinate pair) and outputs a video memory address into HL. Using a fixed input of HL=0x0101 we can effectively reset the
<lang z80>macro ResetCursors
ld hl,&0101
call &BB75
endm</lang>
=={{header|zkl}}==
|