By: mamalala1 (mamalala1) - 2007-11-30 05:32
just made a small patch to sdcc & the ds390 code to support the asix ax110xx cpu's.
they are 8051/80390 chips. the change is to add a code sequence to the
startup stuff that the compiler generates and a small change to the
background: the cpu always starts in 8051 mode and needs acon=0x02 to get into ds390
mode. since the native ds390 target generates only 390 code, the chip does not
the patch adds the switch --use-asix to insert the needed sequence and set the
cpu in 80390 mode.
it is generated against a snapshot tarball from the cvs, namely from
maybe there is a different solutioon for that, but it works for me that way ;)
hope its usefull,
The original mesage is at https://sourceforge.net/forum/message.php?msg_id=4651236
The patch is at https://sourceforge.net/forum/message.php?msg_id=4651244