improved de6502 - needs to write to disk instead of cli

This commit is contained in:
2025-07-09 08:11:49 -04:00
parent 8c08555003
commit a5042383c9
11 changed files with 552 additions and 13 deletions
+3
View File
@@ -0,0 +1,3 @@
To Build
64tass -a -b -o <your_bin> <your_asm>
+26
View File
@@ -0,0 +1,26 @@
* = $A000
.fill Reset - *, $ea
Reset:
SEI
CLD
LDX #$FF
TXS
; Drop to the start of our main loop
MainLoop:
LDA #$AA
ROR
JMP MainLoop
; What to do when we get a NMI
NMI:
RTI
; What do we get when we get an interrupt
IRQ:
RTI
; setup the requirements for the CPU
* = $FFF8
.word NMI
.word Reset
.word IRQ
View File
+22
View File
@@ -0,0 +1,22 @@
* = $0000
.fill Reset - *, $ea
Reset:
SEI
CLD
LDX #$FF
TXS
MainLoop:
NOP
JMP MainLoop
NMI:
RTI
IRQ:
RTI
* = $FFF8
.word NMI
.word RESET
.word IRQ