mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-04 21:05:02 +00:00
15 lines
464 B
Plaintext
15 lines
464 B
Plaintext
;6502 Assembly Language File for DASM Macro Assembler
|
|
|
|
ORG $0200 ;Set Origin
|
|
|
|
start: JMP main ;Jump to Beginning of Program
|
|
|
|
;Dummy Functions
|
|
testfn: RTS ;Generic Test Function
|
|
getkey: RTS ;Get Character from Keyboard
|
|
prchr: RTS ;Print Character to Screen
|
|
putstr: RTS ;Print String to Screen
|
|
strlen: RTS ;Return Length of String
|
|
exit: BRK ;Return to Monitor
|
|
|