Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext ThreadShow in Flat Mode*


Subjectoh my gawd... Reply to this message
Posted byerikduijs
Posted on08/04/04 03:29 AM



It is a difficult one to implement. I've only seen one example written in java and that one had a generated source (almost 4Mb of sheer uglyness).
I am *trying* to do it with a more generic OO approach and less code, but man it's not an easy one. Since many instructions seem to have many different combinations in operands and addressing modes, I'm trying to do something with an Operand interface which I can use for the registers, the effective address, a pointer to memory etc. That way I hope to be able to create for example all ADD opcodes by creating the correct Operands in the constructor of the ADD class, so that the instruction can basically always do 'void add(Operand, Operand)' then. The Operands could be the EA, a register or anything else. Would that be a sensible approach? Any remarks here?



-
Entire Thread
Subject  Posted byPosted On
*Some 68k questions  erikduijs08/03/04 10:55 AM
.*Re: Some 68k questions  finaldave08/04/04 05:42 AM
..*Here's another link that might be helpful  erikduijs08/13/04 07:31 PM
..*Re: Link to user manual with timing info  Jan_Klaassen08/04/04 12:21 PM
...*Re: Link to user manual with timing info  finaldave08/05/04 05:32 AM
..oh my gawd...  erikduijs08/04/04 03:29 AM
..*Re: oh my gawd...  Bart T.08/04/04 10:44 AM
...*Re: oh my gawd...  erikduijs08/04/04 06:00 PM
....*Re: oh my gawd...  R. Belmont08/05/04 11:09 PM
.....*Re: oh my gawd...  erikduijs08/08/04 05:57 PM
.*Re: Some 68k questions  Jan_Klaassen08/03/04 02:13 PM
..*Re: Some 68k questions  Bart T.08/03/04 02:23 PM
...*Re: Some 68k questions  R. Belmont08/03/04 07:35 PM
....*Re: Some 68k questions  Riff08/04/04 03:16 PM
.....*Re: Some 68k questions  finaldave08/05/04 05:43 AM
....*Re: Some 68k questions  ElSemi08/04/04 05:11 AM
.....*Re: Some 68k questions  R. Belmont08/04/04 06:42 PM
.....*Re: Some 68k questions  erikduijs08/04/04 05:48 AM
....*Re: Some 68k questions  erikduijs08/04/04 03:05 AM