summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-13Fixed endianness issue in deref :(Astrid Smith
2010-09-13Made zexdoc's writestr routine a bit fasterAstrid Smith
2010-09-13Changed zexdoc to halt instead of jumping into neverneverland when it's doneAstrid Smith
2010-09-13Made HALT instruction halt, even if it's not a very good way to haltAstrid Smith
2010-09-13Small patch to make JR reliableAstrid Smith
2010-09-10XXX UNDO LATER: Performance degrading change to make debugging easierAstrid Smith
2010-09-10Underef routine now should work correctlyAstrid Smith
2010-09-10How could I forget to actually write characters in 'writestr'?Astrid Smith
2010-09-10I think I nailed all the remaining wrong-sized moves of address registers ...Astrid Smith
2010-09-10Widened spacing to 64 bytes/instr to give myself some breathing room for nowAstrid Smith
2010-09-10CALL was mistakenly fetching an extra word and jumping to JP NZ instead of JPAstrid Smith
2010-09-10Fix to make PUSHW use d2 instead of d0Astrid 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-10Lazy, slow hack to FETCHW and FETCHWI becuase I forgot about endiannessAstrid Smith
2010-09-10Trying to get the zexdoc testbench to run.Astrid Smith
Now, at least, it's integrated into the build system and will be automatically included in built executables.
2010-09-10Added stubs for putting the emulated screen into a TIOS-drawn window.Astrid Smith
2010-09-10Completely patched zexdoc to assemble with SPASM.Astrid Smith
2010-09-08Some more changes, spasm almost doesn't complain anymore!Astrid Smith
2010-09-08Working on adapting zexdoc to work in spasmAstrid Smith
2010-09-07Blank files for multibyte opcodes createdAstrid Smith
2010-09-07Added testbenches folderAstrid Smith
2010-09-07Fixed the last movea that wasn't size-suffixedAstrid Smith
2010-09-07IO port framework now worksAstrid Smith
A68k is defaulting all my address moves to word size, rather than long. I don't know whether I've expunged all this nonsense yet, but I'm trying. This version executes an infinite loop which writes 'A' to port 00h. I've patched in a write-to-console function on port 00h, so this can be used as a sort of debug monitor.
2010-09-06I actually have a Makefile now, thank you very much.Astrid Smith
2010-09-06Assembler is picky about EQUR apparently ...Astrid 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-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-08-02HACK XXX UNDO LATER Made relative flag references absolute.Astrid Smith
A68k wanted to add relocations, but couldn't figure out how. Undo this later when it's speed time, as this (probably) slows things down a bit.
2010-08-02No-code fixes to make it compileAstrid Smith
2010-08-02Fixed target executable nameAstrid Smith
2010-07-24Again, I shouldn't be trusted to write C ...Astrid Smith
2010-07-24Created ROM packager utility stubAstrid Smith
2010-07-24Clearly, I shouldn't be trusted to write C.Astrid Smith
2010-07-24Created MakefileAstrid Smith
2010-07-23Merge branch 'master' of git@github.com:chronomex/680Astrid Smith
2010-07-23Comments about speedinessAstrid Smith
2010-07-23First go at program loader created, as yet untestedAstrid Smith
2010-07-23Tiny changeAstrid Smith
2010-07-18TODO updateAstrid 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-07-02Created initial spec for image formatAstrid Smith
2010-07-02Temporary fixes for alignment issuesAstrid Smith
2010-07-02GCC complained about pages array being of undefined length, fixed.Astrid Smith
2010-07-02Fix/refactor: bankswap_4000_write -> bankswap_b_writeAstrid Smith
2010-06-30Readme editAstrid Smith
2010-06-30fooAstrid Smith
2010-06-28Minor comment changesAstrid Smith