Hi Nelson,
I have a JMP indirect page crosser test in the 65C02_extended_opcodes_test. But even that has only 2 landing zones for either the presence of the original 6502 bug or for the fixed JMP() on the 65C02. Your hosed up fix would not result in a simple to debug error condition. Instead an ...
Search found 442 matches
- Sun Jun 20, 2021 9:03 am
- Forum: Programming
- Topic: Functional Test for the NMOS 6502 - request for verification
- Replies: 202
- Views: 130119
- Thu Jun 03, 2021 3:00 pm
- Forum: Programming
- Topic: Functional Test for the NMOS 6502 - request for verification
- Replies: 202
- Views: 130119
off topic: assembler wishfull thinking
I would like to see an assembler supporting indented blocks with pseudo opcodes. For example: IFNE would be defined as a BEQ to the next line with the same indent level, LOOPNE as a BNE to the next previous line with the same indent level. That would get rid of many cryptic labels like XYZ1234.
- Wed Jun 02, 2021 1:23 pm
- Forum: Programming
- Topic: Functional Test for the NMOS 6502 - request for verification
- Replies: 202
- Views: 130119
Re: Functional Test for the NMOS 6502 - request for verifica
There were 2 main reasons to use AS65:
1. I had used another assembler from the same author for some 6805 projects and was familiar with the syntax which the author kept identical over these and many other microprocessors.
2. I had actually looked at some other free 6502 assemblers and found, that ...
1. I had used another assembler from the same author for some 6805 projects and was familiar with the syntax which the author kept identical over these and many other microprocessors.
2. I had actually looked at some other free 6502 assemblers and found, that ...
- Wed May 26, 2021 5:41 am
- Forum: Programming
- Topic: Functional Test for the NMOS 6502 - request for verification
- Replies: 202
- Views: 130119
Re: Functional Test for the NMOS 6502 - request for verifica
Thank you Nelson, good to know.
- Sun May 23, 2021 9:10 am
- Forum: Programming
- Topic: Functional Test for the NMOS 6502 - request for verification
- Replies: 202
- Views: 130119
Re: Functional Test for the NMOS 6502 - request for verifica
Yes, i am comparing various values in the accumulator to a single positive value as operand of the compare. I should also add a negative operand it seems or do a full run of all possible values as I did for SBC/ADC. There are 2 more "no catch" bugs open with a pending fix, but I´ve been busy with my ...
- Mon Jan 11, 2021 11:38 am
- Forum: Emulation and Simulation
- Topic: 6502 Klaus Test Program
- Replies: 31
- Views: 8404
Re: 6502 Klaus Test Program
Hi Bill,
the part of the test for BRK functionality is conditional if ROM_vectors = 1. However on the last update 12-2017 I had accidentally removed the condition for the actual interrupt service routine and that would still try to assemble with reference to the calling BRK test. I will attach a ...
the part of the test for BRK functionality is conditional if ROM_vectors = 1. However on the last update 12-2017 I had accidentally removed the condition for the actual interrupt service routine and that would still try to assemble with reference to the calling BRK test. I will attach a ...
- Mon Jan 04, 2021 9:39 am
- Forum: Programming
- Topic: Functional Test for the NMOS 6502 - request for verification
- Replies: 202
- Views: 130119
Re: Functional Test for the NMOS 6502 - request for verifica
Hi Neil,
the test always uses absolute addressing to verify zero page addresses. I am certain, that had the zero page test area been at or above $80 the test would have reported the address generation fault. So the fix may just be as simple as moving the test area to $8A. I currently can't think of ...
the test always uses absolute addressing to verify zero page addresses. I am certain, that had the zero page test area been at or above $80 the test would have reported the address generation fault. So the fix may just be as simple as moving the test area to $8A. I currently can't think of ...
- Sun Dec 27, 2020 9:16 am
- Forum: Programming
- Topic: Functional Test for the NMOS 6502 - request for verification
- Replies: 202
- Views: 130119
Re: Functional Test for the NMOS 6502 - request for verifica
Sorry for the late response, I had to ramp up anti-spam measures and forgot to put 6502.org notifications on my whitelist.
Unfortunately the default page zero test area is just a few bytes at $a well below $80 and therefore errors that start to occur at addresses above that test area go undetected ...
Unfortunately the default page zero test area is just a few bytes at $a well below $80 and therefore errors that start to occur at addresses above that test area go undetected ...
- Thu Dec 03, 2020 1:18 pm
- Forum: Programming
- Topic: Functional Test for the NMOS 6502 - request for verification
- Replies: 202
- Views: 130119
Re: Functional Test for the NMOS 6502 - request for verifica
There is a call to the success macro just ahead of the jmp start. The macro actually injects the jmp *. In case you assemble the test with flag report = 1 the injected instruction changes to jsr report_success (part of report.i65). After the message "All tests completed, press R to repeat" pressing ...
- Sun Jun 14, 2020 8:00 am
- Forum: Programming
- Topic: Macro to check for crossing page boundary (using VASM)
- Replies: 6
- Views: 1236
Re: Macro to check for crossing page boundary (using VASM)
The warn directive is not known and causes the unknown opcode error. The only directive to send a message that I found is fail <message>
- Show an error message including the <message> string.
- Do not generate an ouput file. There seems to be no directive to issue just a warning.
There is also ...
- Show an error message including the <message> string.
- Do not generate an ouput file. There seems to be no directive to issue just a warning.
There is also ...
- Sun May 24, 2020 1:33 pm
- Forum: Newbies
- Topic: Problem compiling EhBasic with vasm
- Replies: 13
- Views: 3015
Re: Problem compiling EhBasic with vasm
After looking for error I also found vasm can't work with constants in .IF so I commented these block an after compiling code and comparing with binaries from simulator they were same. So I guess I should be okay then right? As long as the simulator doesn't insert a NOP you're O.K. The chance of ...
- Sun May 24, 2020 7:53 am
- Forum: Newbies
- Topic: Problem compiling EhBasic with vasm
- Replies: 13
- Views: 3015
Re: Problem compiling EhBasic with vasm
...but apparently Lee chose this route of "fixing" it during assembly instead.
Actually, I applied this fix. Lee left it to the comments in the code. Unfortunately vasm6502 cannot handle variables in .if statements. From the vasm manual "Oldstyle Syntax Module" section: 6.6 Known Problems
Some ...
Actually, I applied this fix. Lee left it to the comments in the code. Unfortunately vasm6502 cannot handle variables in .if statements. From the vasm manual "Oldstyle Syntax Module" section: 6.6 Known Problems
Some ...
- Thu Jan 16, 2020 2:06 pm
- Forum: General Discussions
- Topic: [Contest] RIOT Clock
- Replies: 40
- Views: 3088
Re: [Contest] RIOT Clock
I build a radio clock 10 years ago, but with an ATMega8. So I will not build one again. However, the clock had its own way to display the time and maybe some of you will be inspired by it.
The time is counted on LEDs like an Abacus calculator. To match the 60 minutes / 24 (12) hours of how we count ...
The time is counted on LEDs like an Abacus calculator. To match the 60 minutes / 24 (12) hours of how we count ...
- Mon Jan 13, 2020 3:24 pm
- Forum: EhBASIC
- Topic: EhBASIC 2.22 bugs
- Replies: 5
- Views: 14239
Re: EhBASIC 2.22 bugs
Fixed most bugs in my patched up version of EhBASIC 2.22p5 on GitHub.
https://github.com/Klaus2m5/6502_EhBASIC_V2.22/tree/master/patched
#1 TO expression with a subtract may evaluate with the sign bit flipped
Fixed as proposed by dclxvi
#3 call to LAB_1B5B may return to an address -$100 (page ...
https://github.com/Klaus2m5/6502_EhBASIC_V2.22/tree/master/patched
#1 TO expression with a subtract may evaluate with the sign bit flipped
Fixed as proposed by dclxvi
#3 call to LAB_1B5B may return to an address -$100 (page ...
- Mon Jan 13, 2020 1:40 pm
- Forum: EhBASIC
- Topic: Found a bug or am I wrong (or is it already known)?
- Replies: 5
- Views: 8621
Re: Found a bug or am I wrong (or is it already known)?
Fixed as proposed in my patched up version of EhBASIC 2.22p5 on GitHub.
https://github.com/Klaus2m5/6502_EhBASI ... er/patched
https://github.com/Klaus2m5/6502_EhBASI ... er/patched