1
0
mirror of https://github.com/KarolS/millfork.git synced 2026-04-22 00:17:03 +00:00

Initial code upload

This commit is contained in:
Karol Stasiak
2017-12-07 00:23:30 +01:00
parent 537d59744e
commit 48e26a0538
135 changed files with 15568 additions and 1 deletions
+23
View File
@@ -0,0 +1,23 @@
// target-independent things
word nmi_routine_addr @$FFFA
word reset_routine_addr @$FFFC
word irq_routine_addr @$FFFE
inline asm void poke(word const addr, byte const value) {
?LDA #value
STA addr
}
inline asm byte peek(word const addr) {
LDA addr
}
inline asm void disable_irq() {
SEI
}
inline asm void enable_irq() {
CLI
}