Prehisto a écrit:
It would have been better if you show us the full code. Difficult to say what is wrong otherwise.
Well, it's fixed now, it seemed a initial config issue as i said.
Sorry for the newbie question but i don't know how to copy and paste the code snippet since i'm working directly on .sap files, anyway this is what i'm doing to clear screens:
Code:
LDA #$7B .BIT16
STA $A7DC
JSR CLRP
JSR SET2
JSR CLRP
JSR SET3
RTS
..
SET2
LDB #$80
STB $A7DD .Page 2 display
LDB #$03
STB $A7E5 .Set page 3
RTS
SET3
LDB #$c0
STB $A7DD .Page 3 display
LDB #$02
STB $A7E5 .Set page 2
RTS
CLRP
LDA #$00
LDY #$6000
CP STA ,Y+
CMPY #$9FFF
BNE CP
RTS
This simple code erases both pages if executed on macro assembler, but it doesnt seem to work if you load the .BIN from Basic as page 3 still show artifacts. I tried to add an extra CLRP after JSR SET3 for test, and that worked, so it seems like the initial page was not the same from macroassembler to basic bin execution. I'm missing something for sure
Citation:
If you want to work with the original computer, there is no other way. It's uncomfortable but... it's like that.
Try with an MC6809 assembler on PC and an emulator instead.
I am already working on DCMOTO and i assemble with your 3.6, but i have also the C809 assembler for win and unix, so if i build from there how can i test my BIN into the emulator?
Thank you again