Search found 114 matches
- Mon Jan 02, 2023 12:03 am
- Forum: Newbies
- Topic: Why does ADC add one if carry flag set?
- Replies: 23
- Views: 9889
Re: Why does ADC add one if carry flag set?
BTW, the Super FX chip has ADD without carry.
Re: hazards?
Oh, ok. I've since discovered that the Super FX chip on the other hand does have delay slots.
- Tue Sep 06, 2022 10:17 pm
- Forum: Hardware
- Topic: Why is pulling from the stack slower than pushing?
- Replies: 15
- Views: 1574
Re: Why is pulling from the stack slower than pushing?
Yes that is how one of my stack unwinding macros works.
- Tue Sep 06, 2022 8:30 pm
- Forum: Hardware
- Topic: Why is pulling from the stack slower than pushing?
- Replies: 15
- Views: 1574
Re: Why is pulling from the stack slower than pushing?
I don't arbitrarily change the stack pointer. I use the stack for automatic variables like in C, and I can tell at edit-time how many bytes I have allocated, so stack unwinding becomes simply incrementing the stack pointer up that many bytes.
- Tue Sep 06, 2022 6:42 am
- Forum: Hardware
- Topic: Why is pulling from the stack slower than pushing?
- Replies: 15
- Views: 1574
Re: Why is pulling from the stack slower than pushing?
Not really - I just wanted to speed up restoring the stack pointer.
- Sun Aug 28, 2022 10:41 pm
- Forum: Hardware
- Topic: Why doesn't overflowing A with INC set the overflow flag?
- Replies: 8
- Views: 1292
Why doesn't overflowing A with INC set the overflow flag?
The INX, DEX, INY, and DEY instructions not affecting the overflow flag makes sense to me - the index registers are not designed for doing arithmetic.
But what about INC and DEC? Why don't they affect the overflow flag? Is this an oversight? These are what I refer to as strict New Zealand ...
But what about INC and DEC? Why don't they affect the overflow flag? Is this an oversight? These are what I refer to as strict New Zealand ...
- Sat Aug 27, 2022 6:19 pm
- Forum: Emulation and Simulation
- Topic: VSCode debug adapter for my 65816 simulator
- Replies: 23
- Views: 20067
Re: VSCode debug adapter for my 65816 simulator
I use the Mesen-SX disassembler and debugger. It still has problems with source debugging. I would use this tool if it could connect to super nintendo emulators.
- Sat Aug 27, 2022 6:08 pm
- Forum: Hardware
- Topic: 6502 Forum 20th Anniversary Commemorative Tuit
- Replies: 4
- Views: 499
Re: 6502 Forum 20th Anniversary Commemorative Tuit
Congratulations! Thanks Sheep64, and here's to another 20 years.
- Sat Aug 27, 2022 5:40 am
- Forum: Hardware
- Topic: Register renaming in the 65816?
- Replies: 5
- Views: 897
- Fri Aug 26, 2022 8:04 pm
- Forum: Hardware
- Topic: saving power consumption
- Replies: 4
- Views: 994
Re: saving power consumption
What I'm probably going to end up doing eventually is interleaving useful work for other calculations into where those NOPs used to be. WAI feels like overkill when I only need to wait a small number of cycles for a multiplication operation to complete. Once we have a visual65816 perhaps it will be ...
- Fri Aug 26, 2022 7:48 pm
- Forum: Hardware
- Topic: Register renaming in the 65816?
- Replies: 5
- Views: 897
Register renaming in the 65816?
Does the 65816 use register renaming? Some instructions sound like they would be somewhat easy to implement with register renaming:
- XBA
- XCE
- TXY
- TYX
- Fri Aug 26, 2022 7:56 am
- Forum: Programming
- Topic: CA65: how to get a simple one file binary for a EEPROM/Flash
- Replies: 23
- Views: 3186
Re: CA65: how to get a simple one file binary for a EEPROM/F
Not sure; since you know the first jmp is in the correct spot, can you try putting each jmp in its own segment and specify the addresses you were using with .org in the memmap configuration? JUMPTABLE1, JUMPTABLE2, etc.
- Fri Aug 26, 2022 7:43 am
- Forum: Programming
- Topic: CA65: how to get a simple one file binary for a EEPROM/Flash
- Replies: 23
- Views: 3186
Re: CA65: how to get a simple one file binary for a EEPROM/F
What does the line containing "JUMPTABLE" in your mem map config file look like?
- Fri Aug 26, 2022 7:36 am
- Forum: Programming
- Topic: CA65: how to get a simple one file binary for a EEPROM/Flash
- Replies: 23
- Views: 3186
Re: CA65: how to get a simple one file binary for a EEPROM/F
How does the EEPROM base address being at $e000 make you want to look at $1F00? edit: ok, I see you added an addition.
- Fri Aug 26, 2022 7:21 am
- Forum: Programming
- Topic: CA65: how to get a simple one file binary for a EEPROM/Flash
- Replies: 23
- Views: 3186
Re: CA65: how to get a simple one file binary for a EEPROM/F
I don't know why you navigated to $1F00 in the screenshot. That's quite the distance from $FF00 where the first JMP opcode should be.