[hatari-devel] HD6301 emu : news
npomarede at corp.free.fr
npomarede at corp.free.fr
Sat Sep 5 15:19:54 CEST 2009
On Sat, 5 Sep 2009, Laurent Sallafranque wrote:
> Hello,
>
> Actually, I've nearly finished to implement the main CPU core.
> I still have to code :
> - the H bit in the CCR
> - sleep opcode
> - BCD opcode
> - ABA
>
> I've started unitary tests. It seems to work.
> I'll continue to stress the code to find bugs.
>
> Still to do :
> - add interrupts
> - add internal counters
> - add peripherals address code
> - interface the HD6301 into hatari.
>
> Regards,
>
> Laurent
>
Hello,
thanks for the work.
I guess for the interface with the keyboard you're using the articles that
were published in french ST Magazine ? I think this will require some work
and some tweaking to find the correct rate to run 6301 code to interface
correctly with the serial port at fffc00/fffc02.
In the end, this will be really nice to have a real 6301 support.
Also, a 6301 disassembler that could be called from the debugger would be
nice, to disassemble either the 6301 ROM or the RAM (I used an old program
called 'dasmx' when I added fake 6301 support, but having this directly in
Hatari would be better)
Just having a look at the code, I see the same code is used many times to
compute the CCR flags, for example in asrb/aslb/rolb, or in
anda_ind/bita_ind. I was wondering, perhaps it could be possible to use a
macro or a generic CCR function to group a few common cases at the same
place, thus not duplicating some nearly identical code ?
Nicolas
More information about the hatari-devel
mailing list