summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-06-24Make JR ignore page boundaries; relative jumps are now twenty times as fast.Astrid Smith
2011-06-24I spent the afternoon counting cycles.Astrid Smith
2011-06-24Instruction timing worksheet createdAstrid Smith
2011-06-24Factored listing name out in makefileAstrid Smith
2011-06-24I had the sense of several Z flag inspections wrongAstrid Smith
2011-06-24More makefile updatesAstrid Smith
2011-06-24HOLY CRAP IT PRINTED A STRINGAstrid Smith
2011-06-24SPASM doesn't like ' instead of ", so now the testbench console strings will ↵Astrid Smith
probably print okay.
2011-06-23Factor out NATIVE_OBJ in MakefileAstrid Smith
2011-06-23Reorganized and commented MakefileAstrid Smith
2010-12-27Cleaned up interrupt routine, now it works properly.Astrid Smith
Perhaps this is slower than necessary, particularly when interrupts are disabled.
2010-12-27Made interrupts.asm preprocess with m4Astrid Smith
2010-11-15Woops, I haven't yet converted zexall to a format spasm likes.Astrid Smith
2010-11-15Pattern rule for testbenches addedAstrid Smith
2010-11-15Now I can m4ify any .asm file without having to modify the MakefileAstrid Smith
2010-11-15Fixed compile error, this may be a temporary solutionAstrid Smith
2010-11-15Told a68k to create a listingAstrid Smith
2010-11-15Forgot to delete main.o under `make clean', fixed that.Astrid Smith
2010-11-15Renamed project files to get rid of final bits of “680”.Astrid Smith
2010-11-13RST 30 and 38 were wrong, fixed.Astrid Smith
2010-11-13First bit of the new interrupts code addedAstrid Smith
2010-11-12Tiny non-code changesAstrid Smith
2010-11-12Changed the m4 quotes to be guillemets, which are less likely to get in the wayAstrid Smith
2010-11-12Protection added to prevent m4 from emitting "TIME ,"Astrid Smith
2010-11-12Non-code changes (comments and macro arguments)Astrid Smith
I added a fourth and fifth argument to OPCODE(). Now it accepts both of the arguments for the TIME macro (to allow for more precise speed emulation in the distant future) as well as a fifth argument, the size of the opcode routine (excluding START and DONE). I think this will allow me to automatically generate minimal offsets when I finally use Tezxas's dispatch routine.
2010-11-12Added support for local labels in opcodesAstrid Smith
I tried to use A68k's local label support, but I believe it was broken. Now I can use it, finally. :)
2010-11-12Reworked opcodes.asm to use m4. Soon, it will be clean.Astrid Smith
2010-11-10Changes to commentary in interrupts.asmAstrid Smith
2010-11-09Woops, forgot to delete two comments.Astrid Smith
2010-11-09Added guards around all routines that touch ePC or eSP.Astrid Smith
These guards have one major fault I can see. I put them as early in the routine as possible, but it's still a distinct possibility that the 68k interrupt will fire between move.b (epc)+,d0 in macro DONE of one instruction and the call to HOLD_INTS in the following instruction. I don't have a good solution to this. I can use the hardware interrupt holding support to make everything a critical section except for the cycle gap before that instruction, but that makes _every_ instruction 24 cycles slower. I don't consider that an acceptable solution.
2010-11-09Added loads of interrupt processing code.Astrid Smith
Properly handling interrupts that come in a critical section is a difficult problem. This is my first stab at it. Notably, I'm doing all my interrupt processing in softwareland. It turns out to be about 1/3 as fast as using the interrupt hardware directly, though I don't have to run in supervisor mode this way.
2010-11-09Clarified used/free registers listAstrid Smith
2010-11-09Makefile now has 'make clean' and is very thorough.Astrid Smith
2010-11-09Changed project and binaries name to z680k.Astrid Smith
2010-09-16Cleared up some compiler errorsAstrid Smith
2010-09-14Conditional jumps work now.Astrid Smith
Holy shit that was a hairy debug session. I have a lot to look forward to.
2010-09-14Trivial changes.Astrid Smith
2010-09-13CCF flags :(Astrid Smith
2010-09-13Documentation updateAstrid Smith
2010-09-13Timing correction macro added (as yet nonfunctional)Astrid Smith
2010-09-13Fixed glaring bug in arithmetic routines affecting (HL)Astrid Smith
2010-09-13Speed improvements to some instructions.Astrid Smith
2010-09-13Fixed bug in conditional instructions which take an argumentAstrid Smith
2010-09-13More testcases and a few fixesAstrid Smith
2010-09-13Comments saying what opcodes haven't been tested yetAstrid Smith
2010-09-13Started out on my own test suiteAstrid 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-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