Re: [hatari-devel] Debugger an 32 bit addresses

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Le 20/12/2014 00:12, Eero Tamminen a écrit :

I used the area check instead (+ updated debugger tests).


thanks, this looks easier to follow


	- Eero

PS. regarding this change:
+extern void	STMemory_Write ( Uint32 addr , Uint32 val , int size );
+extern void	STMemory_WriteLong ( Uint32 addr , Uint32 val );
+extern void	STMemory_WriteWord ( Uint32 addr , Uint16 val );
+extern void	STMemory_WriteByte ( Uint32 addr , Uint8 val );
+extern Uint32	STMemory_Read ( Uint32 addr , int size );
+extern Uint32	STMemory_ReadLong ( Uint32 addr );
+extern Uint16	STMemory_ReadWord ( Uint32 addr );
+extern Uint8	STMemory_ReadByte ( Uint32 addr );

As everything is using the Long/Word/Byte wrappers,
shouldn't STMemory_Write/Read be static?

At one point, I was thinking about doing some macro that call STMemory_Write/Read, so we could leave it extern for now.

Nicolas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/