Posted By
 Fuzzweed on 2024-12-01 07:45:09
| Bug help. Whats happening here?
Left: Raw code. Middle: YAPE monitor Right: CBM studio disassembly
PC at $114B does a store to $FF07
but then the PC jumps to $117E* not continuing to $114E as expected.
*actually even this is not stable, sometimes it jumps to $117B
The only thing I can think of would be bumping the NTSC flag (?) but #$A7 is PAL and yape is set to pal before and after.
I've got RAM banked in and interupts set but off.
Confused.

|
|
Posted By
 Csabo on 2024-12-01 08:07:42
| Re: Bug help. Whats happening here?
It's the $20 bit on $FF07. Change the LDA #$A7 to LDA #$87 and you should be fine.
|
|
Posted By
 Fuzzweed on 2024-12-01 09:20:30
| Re: Bug help. Whats happening here?
Obviously the worked straight away because you're a godamn genius, but why? My prog guide says that's the flash attribute (which I would have thought should be 1='no'), so how the heck is that messing with the PC???
|
|
Posted By
 Csabo on 2024-12-01 09:42:05
| Re: Bug help. Whats happening here?
I linked an article here in the Plus/4 World encyclopedia / knowledge base; from there you can see that it's the "TED off" bit. If you turn it on, the TED stops generating output... You probably never want to do that in practice 
|
|
Posted By
 Fuzzweed on 2024-12-01 10:02:50
| Re: Bug help. Whats happening here?
There are so many inconsistencies and omissions in the PG.
|
|