From ff47b013fbdde4a28ea7b58239cceeca85172e0b Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 29 Sep 2026 22:19:51 +0200 Subject: asm: add an example on detecting software IRQs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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à --- asm/README.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 asm/README.md (limited to 'asm/README.md') 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. -- cgit v1.2.3