Publish VCC Plus OSS source distribution for 3.6.2 build 60
This commit is contained in:
commit
c652a5276d
1192 files changed
+272368
No files matched your search
@@ -0,0 +1,11 @@
|
||||
; MODE.ASM -- a bounded HD6309 experiment for Disk BASIC at reset mode.
|
||||
; Run on a fresh HD6309 guest, with MD=0. Both stops are before instructions.
|
||||
org $3f00
|
||||
start pshs cc ; remember BASIC's interrupt masks
|
||||
orcc #$50 ; mask IRQ and FIRQ for the short experiment
|
||||
ldmd #1 ; select 6309 native mode
|
||||
native ldw #$1234 ; inspect MD, then step and read E and F
|
||||
ldmd #0 ; restore reset mode before calling BASIC
|
||||
restored puls cc ; restore the caller's condition codes
|
||||
rts
|
||||
end start
|
||||
Reference in new issue
Block a user