AY to PSG

For anything related to sound (YM2612, PSG, Z80, PCM...)

Moderator: BigEvilCorporation

KanedaFr
Administrateur
Posts: 1154
Joined: Tue Aug 29, 2006 10:56 am
Contact:

Post by KanedaFr »

ah ah!
yes I did!
I was aware it was lo then hi,
I read them the right way...but I inverted them while saving in memory!
stupid mistake from my poor knowledge in 8bit coding
Chilly Willy
Very interested
Posts: 2993
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy »

KanedaFr wrote:ah ah!
yes I did!
I was aware it was lo then hi,
I read them the right way...but I inverted them while saving in memory!
stupid mistake from my poor knowledge in 8bit coding
When you're used to the 68000, it's easy to forget the Z80 is little endian. :D
HardWareMan
Very interested
Posts: 753
Joined: Sat Dec 15, 2007 7:49 am

Post by HardWareMan »

Chilly Willy wrote:When you're used to the 68000, it's easy to forget the Z80 is little endian. :D
While MIPS can be switched between big and litle endians almost on fly. :3
Chilly Willy
Very interested
Posts: 2993
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy »

HardWareMan wrote:
Chilly Willy wrote:When you're used to the 68000, it's easy to forget the Z80 is little endian. :D
While MIPS can be switched between big and litle endians almost on fly. :3
Virtually every RISC processor is that way. The PowerPC can also switch endianness, and so can the SuperH. On the SuperH, the endianness is set for an address space; it's meant to make it easier to use PC intended devices. The PowerPC is more like the MIPS, having the endianness as part of the machine state so that you can set the processor to either endian state as you return from an exception.
Post Reply