[hatari-devel] WinUae CPU for hatari

Laurent Sallafranque laurent.sallafranque at free.fr
Thu Oct 21 23:12:55 CEST 2010


Hello,

I've uploaded a draft version of my work (for archiving).
It compiles until newcpu.c

I've only modified 1 common file : m68000.h

I think l I've changed 2 lines (20.43 and 20.51) :

    20.42  <http://hg.berlios.de/repos/hatari/rev/6eeb9583fed9#l20.42>  -/* bus access mode */
    20.43  <http://hg.berlios.de/repos/hatari/rev/6eeb9583fed9#l20.43>  +/* bus acces mode */
    20.44  <http://hg.berlios.de/repos/hatari/rev/6eeb9583fed9#l20.44>   #define	BUS_MODE_CPU		0			/* bus is owned by the cpu */
    20.45  <http://hg.berlios.de/repos/hatari/rev/6eeb9583fed9#l20.45>   #define	BUS_MODE_BLITTER	1			/* bus is owned by the blitter */
    20.46  <http://hg.berlios.de/repos/hatari/rev/6eeb9583fed9#l20.46>
    20.47  <http://hg.berlios.de/repos/hatari/rev/6eeb9583fed9#l20.47>  @@ -284,7 +262,7 @@
    20.48  <http://hg.berlios.de/repos/hatari/rev/6eeb9583fed9#l20.48>   extern void M68000_Start(void);
    20.49  <http://hg.berlios.de/repos/hatari/rev/6eeb9583fed9#l20.49>   extern void M68000_CheckCpuLevel(void);
    20.50  <http://hg.berlios.de/repos/hatari/rev/6eeb9583fed9#l20.50>   extern void M68000_MemorySnapShot_Capture(bool bSave);
    20.51  <http://hg.berlios.de/repos/hatari/rev/6eeb9583fed9#l20.51>  -extern void M68000_BusError(Uint32 addr, bool bRead);
    20.52  <http://hg.berlios.de/repos/hatari/rev/6eeb9583fed9#l20.52>  +extern void M68000_BusError(Uint32 addr, bool bReadWrite);
    20.53  <http://hg.berlios.de/repos/hatari/rev/6eeb9583fed9#l20.53>   extern void M68000_Exception(Uint32 ExceptionVector , int ExceptionSource);
    20.54  <http://hg.berlios.de/repos/hatari/rev/6eeb9583fed9#l20.54>   extern void M68000_WaitState(int nCycles);
    20.55  <http://hg.berlios.de/repos/hatari/rev/6eeb9583fed9#l20.55>


Don't hesitate to upload previous version of these 2 lines if necessary.

If you have comments about this winuae hack (or if you want to help me), 
it's always a pleasure to hear from you.

Regards,

Laurent

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.berlios.de/pipermail/hatari-devel/attachments/20101021/9ff437b1/attachment.html>


More information about the hatari-devel mailing list