GARTHWILSON wrote:
JuanGg wrote:
but I'm not able to find the as65 assembler that this code is written for
Is it this one?
http://www.obelisk.me.uk/dev65/as65.htmlI wasn't able to run that one, it appears that it is only compatible with 16-bit systems.
BigEd wrote:
Thanks, I finally got it from here
http://web.archive.org/web/201903011236 ... ssemblers/I have taken the test program from here:
https://github.com/Klaus2m5/6502_65C02_functional_tests and changed the configuration at the top so it ignores decimal mode and so that code starts at c000, where I have put a 16k ROM.
I assembled it with no errors and ended up with an Intel Hex file. By virtues of Notepad ++, I have stripped all addresses and check sums, and added a space in between each two characters. This ends up with the format Logisim needs.
Said file starts with 9 BRK opcodes, and as the IRQ vector is set to 0000, it continues execution on said address, where it reads another 00 and off it goes on an endless loop that just fills the stack.
Any ideas? it doesn't seem to specify those vectors in the test file. Maybe I should learn 6502 assembly first...
Juan