summaryrefslogtreecommitdiff
path: root/main.asm
AgeCommit message (Collapse)Author
2010-11-15Renamed project files to get rid of final bits of “680”.Astrid Smith
2010-09-13Endianness fixes, I don't know how correct these are ...Astrid Smith
2010-09-13Fixed endianness issue in deref :(Astrid Smith
2010-09-10Underef routine now should work correctlyAstrid Smith
2010-09-10Two more fixesAstrid Smith
The underef function will now return 0 if a match is not found, rather than returning something undefined. The routine for CALL immed.w was mistakenly calling deref with a truncated address. This has been fixed.
2010-09-10Added stubs for putting the emulated screen into a TIOS-drawn window.Astrid Smith
2010-09-07Fixed the last movea that wasn't size-suffixedAstrid Smith
2010-09-06Registers holding emulated registers are now named.Astrid Smith
Hopefully 'esp', 'epc', 'eaf', and friends will be less troublesome than 'a4', 'a6', and 'd3'.
2010-09-06Fixes to actually run codeAstrid Smith
This is the version to run the first (trivial) infinite loop correctly. I hacked up the loader slightly to replace one of the (nonexistent) pages with a static byte array. z80 code executed: $4000: JP $4000 4000 c3 40 00 4003 This version also draws the opcode executed on the screen, to aid in debugging the emulator: move.b d0,$4c00+32*(128/8) Also, it turns out that I was mixing up the emulated SP (a4) and emulated PC (a6). That has been fixed. Further, it seems that movea defaults to a word operation in a68k. This led to pointer corruption, which has been fixed.
2010-07-24Created MakefileAstrid Smith
2010-07-17deref wasn't working properly because of insufficient shifting, fixedAstrid Smith
2010-07-17Now initializing PC correctlyAstrid Smith
2010-07-03Now it compiles properly. Still doesn't seem to run without address error, ↵Astrid Smith
though.
2010-06-30fooAstrid Smith
2010-06-26Rewrote loader routine in CAstrid Smith
2010-06-26Parted out ADC macro-instructionAstrid Smith
2010-06-21Forgot to include alu.asmAstrid Smith
2010-06-21First version to branch into the emulator coreAstrid Smith
2010-06-20Forgot to pop the ROM_CALL arguments ...Astrid Smith
2010-06-20Moved macros into opcodes fileAstrid Smith
2010-06-20Cleaned up startup, added memory allocationAstrid Smith
2010-06-20Linker warning fixedAstrid Smith
2010-06-20Added video routines, in CAstrid Smith
2010-06-20Added asm file to do video stuff, renamed storage to fitAstrid Smith
2010-06-20Added WORD macro to rearrange bytes, ABCD -> ACBDAstrid Smith
2010-06-20Moved emulation core into opcodes.asmAstrid Smith
2010-06-20Merge from LionelAstrid Smith
2010-06-20Slightly reworked POPWAstrid Smith
2010-06-19More comment changes, some FIXMEs related to AFAstrid Smith
2010-06-19Changes from LionelAstrid Smith
2010-06-18Wrote increment/decrement macrosAstrid Smith
2010-06-18Fixed that, dc.w is NOT the same as ds.w.Astrid Smith
2010-06-18Trying to get the flags storage to work ...Astrid Smith
2010-06-18Small documentation changes, a few instructions reworkedAstrid Smith
2010-06-18Added code for RST instructions. Perhaps it should be a macro instead?Astrid Smith
2010-06-18MergeAstrid Smith
2010-06-18Made memory-access macros work properlyAstrid Smith
2010-06-14Fixed stupid constant error in underefAstrid Smith
2010-06-14Removed LABEL-flag_storage(a3) business, as A68k was choking on it :(Astrid Smith
2010-06-14Done with my first pass through the 1-byte opcodes.Astrid Smith
2010-06-12More instructions added, stubs created for IO operation.Astrid Smith
2010-06-12Made macro DONE consistent with fetch routineAstrid Smith
2010-06-12I'm not sure where this changeset came from, but it looks good ...Astrid Smith
2010-06-12Merge branch 'debrouxl'Astrid Smith
2010-06-12Worked in Lionel's changes to flags.asm, patched up main.asm slightly to fitAstrid Smith
2010-06-12Worked in Lionel's changes to main.asmAstrid Smith
2010-06-12Patch received in email from Lionel DebrouxAstrid Smith
2010-06-12Forgot a DONE on emu_op_22Astrid Smith
2010-06-11PUSHW correctedAstrid Smith
2010-06-11Added proper addressing, more instructionsAstrid Smith