aboutsummaryrefslogtreecommitdiff
path: root/asm/README.md
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-09-29 22:19:51 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-09-29 22:19:51 +0200
commitff47b013fbdde4a28ea7b58239cceeca85172e0b (patch)
treef958f011119768b69e4682d93d58add0ffcc20fa /asm/README.md
parent7af0538816193be7c88c76a556b908bedf1585df (diff)
downloadcode.nes-main.tar.gz
code.nes-main.zip
asm: add an example on detecting software IRQsHEADmain
This is all prone to errors and probably a bad idea on production, but it was a fun exercise with 6502 assembly. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'asm/README.md')
-rw-r--r--asm/README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/asm/README.md b/asm/README.md
new file mode 100644
index 0000000..3c17348
--- /dev/null
+++ b/asm/README.md
@@ -0,0 +1,6 @@
+For now there is only one example, `soft_irq.s`, which shows how you can tell
+apart a hardware IRQ from a software IRQ, and how to get the "break mark" from a
+software IRQ. In the end, this is all quite finnicky and prone to errors, so
+just avoid doing anything with that and treat this example as a cool exercise on
+6502 programming. I'd say that the better option in order to make assertions and
+stuff like that would be to use Lua scripts on the emulator of your choice.