1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-05-31 22:41:37 +00:00

Update Apple II ROM symbols

This commit is contained in:
Andy McFadden 2021-11-14 08:24:55 -08:00
parent 8d9a27ae0c
commit 713bb74cc0

View File

@ -24,7 +24,7 @@ MON_H2 @ $2C ;right end of horizontal line drawn by HLINE
MON_V2 @ $2D ;bottom of vertical line drawn by VLINE
MON_COLOR @ $30 ;lo-res graphics color
MON_INVFLAG @ $32 ;text mask (255=normal, 127=flash, 63=inv)
MON_PROMPT @ $33 ;prompt character
MON_PROMPT @ $33 ;prompt character, used by GETLN
MON_CSWL @ $36 ;character output hook (lo)
MON_CSWH @ $37 ;character output hook (hi)
MON_KSWL @ $38 ;character input hook (lo)
@ -77,7 +77,7 @@ MON_TEXT2COPY @ $F962
MON_OLDIRQ @ $FA40 ;autostart ROM IRQ handler
MON_BREAK @ $FA4C
MON_OLDBRK @ $FA59
MON_RESET @ $FA62
MON_RESET @ $FA62 ;autostart ROM RESET handler
MON_PWRUP @ $FAA6
MON_SLOOP @ $FABA
MON_REGDSP @ $FAD7 ;display register contents
@ -89,14 +89,14 @@ MON_SETTXT @ $FB39 ;set screen to text mode
MON_SETGR @ $FB40 ;set screen to graphics mode
MON_SETWND @ $FB4B ;set normal low-res graphics window
MON_SETWND2 @ $FB51
MON_TABV @ $FB5B ;place cursor at line (A-reg) and column (ch)
MON_TABV @ $FB5B ;place cursor at line (A-reg) and column (CH)
MON_APPLEII @ $FB60 ;clear screen and put "Apple II" into first line
MON_SETPWRC @ $FB6F
MON_VIDWAIT @ $FB78
MON_VIDWAIT @ $FB78 ;autostart: handle Ctrl+S after CR
MON_KBDWAIT @ $FB88
MON_VERSION @ $FBB3
MON_ZIDBYTE2 @ $FBBF
MON_ZIDBYTE @ $FBC0
MON_VERSION @ $FBB3 ;used to detect system version
MON_ZIDBYTE2 @ $FBBF ;used to detect system version
MON_ZIDBYTE @ $FBC0 ;used to detect system version
MON_BASCALC @ $FBC1 ;calculate text base address
MON_BELL1 @ $FBDD ;sound bell regardless of output device
MON_BELL1_2 @ $FBE2
@ -106,15 +106,15 @@ MON_ADVANCE @ $FBF4 ;move cursor right
MON_VIDOUT @ $FBFD ;output Acc as text
MON_BS @ $FC10 ;move cursor left
MON_UP @ $FC1A ;move cursor up
MON_VTAB @ $FC22 ;tab to row specified in Acc
MON_VTABZ @ $FC24
MON_VTAB @ $FC22 ;tab to row specified in CV
MON_VTABZ @ $FC24 ;tab to row specified in Acc
MON_CLREOP @ $FC42 ;clear screen from cursor to end of page
MON_HOME @ $FC58 ;clear screen and reset text output to top-left
MON_CR @ $FC62 ;perform a carriage return
MON_LF @ $FC66 ;perform a line feed
MON_SCROLL @ $FC70 ;scroll up one line
MON_CLREOL @ $FC9C ;clear to end of line
MON_CLREOLZ @ $FC9E
MON_CLREOLZ @ $FC9E ;clear from pos in Y-reg to end of line
MON_WAIT @ $FCA8 ;delay for (26 + 27*Acc + 5*(Acc*Acc))/2 cycles
MON_NXTA4 @ $FCB4 ;increment A4, fall through into NXTA1
MON_NXTA1 @ $FCBA ;increment A1; set carry if A1 >= A2 before inc
@ -128,9 +128,9 @@ MON_KEYIN @ $FD1B ;get next key input from keyboard hardware
MON_RDCHAR @ $FD35 ;calls RDKEY to get next char
MON_GETLNZ @ $FD67 ;get a line of input
MON_GETLN @ $FD6A ;get a line of input
MON_GETLN0 @ $FD6C
MON_GETLN1 @ $FD6F
MON_CROUT1 @ $FD8B
MON_GETLN0 @ $FD6C ;GETLN with prompt char in A-reg
MON_GETLN1 @ $FD6F ;GETLN with no prompt char
MON_CROUT1 @ $FD8B ;clear to EOL and print a carriage return
MON_CROUT @ $FD8E ;print a carriage return
MON_PRA1 @ $FD92 ;print CR, then hex of A1H/A1L, then minus sign
MON_PRBYTE @ $FDDA ;print Acc as two-digit hex number
@ -138,15 +138,15 @@ MON_PRHEX @ $FDE3 ;print right nibble of Acc as single hex digit
MON_COUT @ $FDED ;print Acc to output device via $36-37
MON_COUT1 @ $FDF0 ;print Acc to screen
MON_COUTZ @ $FDF6
MON_IDROUTINE @ $FE1F
MON_IDROUTINE @ $FE1F ;RTS on 8-bit, ID routine on IIgs
MON_MOVE @ $FE2C ;move bytes from A1 to A4 until A1=A2
MON_LIST @ $FE5E ;disassemble 20 instructions (not on GS)
MON_SETINV @ $FE80 ;set video mode to inverse
MON_SETNORM @ $FE84 ;set video mode to normal
MON_SETKBD @ $FE89 ;reset char input handler to ROM
MON_INPORT @ $FE8B
MON_INPORT @ $FE8B ;set char input handler to slot in A-reg
MON_SETVID @ $FE93 ;reset char output handler to ROM
MON_OUTPORT @ $FE95
MON_OUTPORT @ $FE95 ;set char output handler to slot in A-reg
MON_GO @ $FEB6
MON_WRITE @ $FECD ;write data to cassette
MON_READ @ $FEFD ;read data from cassette