ADRESSE.TXT: Difference between revisions
Jump to navigation
Jump to search
Olivier.jan (talk | contribs) mNo edit summary |
Olivier.jan (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
− | {{Languages| |
+ | {{Languages|ADRESSE.TXT}} |
<pre> |
<pre> |
||
; |
; |
Revision as of 14:42, 16 December 2023
; ; Atari ST system addresses and macros for Mad Mac ; ; Atari ST hardware ; memconf = $ffff8001 ; memory controller dbaseh = $ffff8201 dbasel = $ffff8203 ; display base low, high vcounthi = $ffff8205 ; display counter low, medium, high vcountmid = $ffff8207 vcountlow = $ffff8209 syncmode = $ffff820a ; video sync mode color0 = $ffff8240 ; color registers 0..15 ... CURS_SETRATE = 4 CURS_GETRATE = 5 .macro Cursconf func,op move.w \op,-(sp) move.w \func,-(sp) Xbios $15,6 .endm .macro Settime datetime move.l \datetime,-(sp) Xbios $16,6 .endm .macro Gettime Xbios $17,2 .endm .macro Kbdvbase Xbios $22,2 .endm .macro Vsync Xbios $24,2 .endm .macro Supexec where move.l \where,-(sp) Xbios $26,6 .endm .subttl 'Gemdos Traps' .macro Dsetdrv drive move.w \drive,-(sp) Gemdos $e,4 .endm ... .TEXT .eject .list
Back to ASM_Tutorial