Search found 5 matches

by s4w2099
Wed Sep 04, 2019 12:36 am
Forum: Emulation and Simulation
Topic: Big Thanks To Mr. Dormann and Quick Question
Replies: 9
Views: 2296

Re: Big Thanks To Mr. Dormann and Quick Question

What happens if you include:
ORG 0
DB 0
…or whatever equivalent works in that assembler? That should force the image to start at address zero.

Chromatix, it seemed very strange to me that Klaus' first defined segment was at $A and the assembled code was offset exactly by this amount. As you ...
by s4w2099
Tue Sep 03, 2019 11:06 pm
Forum: Emulation and Simulation
Topic: Big Thanks To Mr. Dormann and Quick Question
Replies: 9
Views: 2296

Re: Big Thanks To Mr. Dormann and Quick Question

You definitely have some sort of offset in the object code. This is what the official build shows at $0400, preceded by a block of $FF bytes:
00000400 d8 a2 ff 9a a9 00 8d 00 02 a2 05 4c 33 04 a0 05 |...........L3...|


That's right. I tried the DOS version of the assembler and the result is the ...
by s4w2099
Tue Sep 03, 2019 3:28 pm
Forum: Emulation and Simulation
Topic: Big Thanks To Mr. Dormann and Quick Question
Replies: 9
Views: 2296

Re: Big Thanks To Mr. Dormann and Quick Question

It might be that you need to build differently. Perhaps experiment with this setting:

;load_data_direct (0=move from code segment, 1=load directly)
;loading directly is preferred but may not be supported by your platform
;0 produces only consecutive object code, 1 is not suitable for a binary ...
by s4w2099
Tue Sep 03, 2019 1:50 pm
Forum: Emulation and Simulation
Topic: Big Thanks To Mr. Dormann and Quick Question
Replies: 9
Views: 2296

Re: Big Thanks To Mr. Dormann and Quick Question

Welcome! Indeed, I think it's true that the decimal ADC/SBC are the very last tests.

The official upstream sources are in Klaus' repository here:
https://github.com/Klaus2m5/6502_65C02_functional_tests

Within the repo, together with the sources and the binaries, you will find a listing, which ...
by s4w2099
Tue Sep 03, 2019 3:18 am
Forum: Emulation and Simulation
Topic: Big Thanks To Mr. Dormann and Quick Question
Replies: 9
Views: 2296

Big Thanks To Mr. Dormann and Quick Question

Hello Everyone,

First I would like to Thank Mr. Klaus Dormann for publishing his 6502 functional test. It has been instrumental towards the development of my 6502 emulator.

At this point my code seems to emulate the 6502 pretty well. I still need to perform some optimizations and clean up the ...