mirror of
https://github.com/bobbimanners/Applecorn.git
synced 2025-01-30 17:30:02 +00:00
OSWORD &02 is implemented (so you can set TIME
).
This commit is contained in:
parent
e969d2cceb
commit
5431840b59
BIN
applecorn.po
BIN
applecorn.po
Binary file not shown.
@ -327,9 +327,22 @@ WORD01 PHP ; Disable interrupts
|
||||
PLP ; Restore interrupt state
|
||||
RTS
|
||||
|
||||
WORD04
|
||||
WORD02 PHP ; Disable interrupts
|
||||
SEI
|
||||
>>> WRTMAIN
|
||||
:WORD02LP LDA (OSCTRL),Y ; Read from buffer
|
||||
:WORD02LP STA SYSCLOCK,Y ; Store to sys clock in main mem
|
||||
INY
|
||||
CPY #$05
|
||||
BCC :WORD02LP
|
||||
>>> WRTAUX
|
||||
PLP ; Restore interrupt state
|
||||
RTS
|
||||
|
||||
WORD03
|
||||
WORD02 RTS ; Dummy, do nothing
|
||||
WORD04
|
||||
RTS
|
||||
|
||||
|
||||
* OSWORD &05 - Read I/O memory
|
||||
* OSWORD &06 - Write I/O memory
|
||||
|
Loading…
x
Reference in New Issue
Block a user