Commit Graph

249 Commits

Author SHA1 Message Date
transistor
148b4dcf2c Cleaned up warnings 2021-12-13 12:00:24 -08:00
transistor
92468b485f Minor changes 2021-12-13 11:05:22 -08:00
transistor
39068fec2a Added audio support
It's better than it was but there are still minor drop outs due to
a buffer underrun I think (could be other timing issues related to
the update loop or something else).  Right now, the audio chips
just have some code to produce sine waves for testing.
2021-12-12 15:20:09 -08:00
transistor
0247279e4b Refactored signals and added a signal to break at the end of a frame draw 2021-12-08 19:07:27 -08:00
transistor
8db32ab9b3 Modified frame/frameswapper a bit 2021-12-08 13:52:11 -08:00
transistor
6dbae9620d Renamed SharedData to HostData 2021-12-07 14:29:38 -08:00
transistor
e41970391e Added LDI, LDD, and LDDR instructions for Z80 2021-12-06 20:44:44 -08:00
transistor
427c79b7b4 Moved tty to frontends/moa-common to remove the dependency on nix 2021-12-06 19:52:04 -08:00
transistor
d274186388 Added Macintosh 128k/512k work in progress 2021-12-06 15:04:08 -08:00
transistor
9a751e5e90 Sega Genesis coprocessor bus is now working
I've added skeleton devices for the sound chips, and added the bank
register and banked area of ram mapped to the Z80's bus.  Sonic1 will
now run (if the ym2612 device's size is set to 0x1000 instead of 0x04)
2021-12-06 14:51:57 -08:00
transistor
8743c83834 Updated readme 2021-12-05 21:32:08 -08:00
transistor
27e4dfeff2 Updated readme 2021-12-05 19:53:23 -08:00
transistor
c4203dda1b Fixed images links in readme 2021-12-05 19:42:11 -08:00
transistor
8b8430bf13 Updated readme 2021-12-05 19:41:23 -08:00
transistor
5c7c9d065f Fixed issue with Scroll B offsets 2021-12-05 17:19:27 -08:00
transistor
dd0e84fa51 Improved genesis controllers a bit
Some games still broken, but sonic 2 works now
2021-12-05 15:38:11 -08:00
transistor
a5e4f51469 Fixed horizontal scroll
The mask for the scroll values was 0x3F but it should have been 0x3FF
2021-12-05 14:26:21 -08:00
transistor
fe60d01340 Added vertical and horizontal scrollling, but it's still a bit broken 2021-12-04 21:04:03 -08:00
transistor
73c5b26e86 Modified controller inputs to work like keys 2021-12-04 14:41:27 -08:00
transistor
8ced62cca0 Fixed bug in ym7101 DMA 2021-12-04 13:58:50 -08:00
transistor
1518ffbc60 Refactored ym7101 to store state unpacked
Previously it was storing data in the registers, which was an array
of u8, but now it's storing eg. full addresses for the scroll tables
so that they don't need to be fetched from the register values and
converted every rendering.  I was thinking this would maybe make
DMA debugging easier, in particular.
2021-12-04 13:55:58 -08:00
transistor
b540e53ea1 Fixed issues with Genesis controllers and sprite rendering
The controller th count was starting at 1 instead of 0 which caused
inputs to be read incorrectly, as well as the fact that inputs are
inverted.

The sprite fix now draws them in the right order so that ComradeOj's
sprite test renders correctly, but games still render them broken
because of some other bug yet to be found
2021-12-03 15:32:59 -08:00
transistor
75e4a760eb Added ABCD, SBCD, and TAS instructions to m68k 2021-12-03 15:32:17 -08:00
transistor
d33a3c160b Added test roms for Sega Genesis 2021-12-02 15:05:00 -08:00
transistor
9464e4c75a Renamed joystick to controller in host traits 2021-12-02 15:04:41 -08:00
transistor
b165e18fac Added ADDX/SUBX instructions to m68k 2021-12-01 15:40:41 -08:00
transistor
0f2f989775 Fixed bug in m68k with Extend flag in shift instructions 2021-12-01 10:45:24 -08:00
transistor
364c51524f Fixed bug in m68k decode with MUL 2021-11-29 11:12:20 -08:00
transistor
31ff828f15 Added Inspectable trait for getting debug data from peripherals 2021-11-29 11:11:32 -08:00
transistor
7fe83ad4a3 Fixed capitalization 2021-11-28 10:36:51 -08:00
transistor
c1e8863a9e Updated readme 2021-11-28 10:32:03 -08:00
transistor
1a94fca86a Minor fix 2021-11-28 09:48:31 -08:00
transistor
9ab12229c0 Renamed post 2021-11-27 21:52:37 -08:00
transistor
87fffde9c9 Added post 2021-11-27 09:39:38 -08:00
transistor
ac8e9c968c Fixed minor issue preventing the TRS-80 from working 2021-11-24 14:38:38 -08:00
transistor
b4a80c6969 Updated readme 2021-11-24 14:37:09 -08:00
transistor
cb47d23233 Fixed issue with colour 0 being the mask colour
For systems that legitimately use 0 for black, this causes a
problem, so I instead use 0xFFFFFFFF for the mask colour which
corresponds to transparent white in ARGB format, which minifb
doesn't support anyways
2021-11-23 11:45:44 -08:00
transistor
03f23da544 Added A and F instructions to m68k 2021-11-23 11:45:11 -08:00
transistor
f601290771 Fixed bug in MOVEM and added tests for it
It was previously decrementing addresses if the direction was from
registers to memory, but that's incorrect.  It should increment the
address always when using an addressing mode other than the ARecDec
mode.  I also added a memory location to the test cases to test the
MOVEM instruction by comparing what memory was read/written (but it's
only one u32 because that's the minimum we need)
2021-11-19 09:55:31 -08:00
transistor
02b10c5b32 Changed msp to ssp to match docs 2021-11-18 12:13:36 -08:00
transistor
812f6800a8 Minor fixes 2021-11-18 08:46:41 -08:00
transistor
a342ef3b86 Added MOVEP and more tests to m68k and IM to z80 2021-11-15 20:52:19 -08:00
transistor
1d8065026d Minor fixes 2021-11-15 20:51:33 -08:00
transistor
a00d7b2f26 Fixed warnings 2021-11-13 11:39:20 -08:00
transistor
674f03c3b8 Refactored m68k tests to use data for test cases 2021-11-13 10:55:58 -08:00
transistor
e0d863a845 Fixed overflow bug in m68k 2021-11-13 10:54:59 -08:00
transistor
d472b95d9d Fixed compile errors in moa-console frontend 2021-11-13 10:54:19 -08:00
transistor
9d799e308d Added command line options for minifb and TRS-80 2021-11-11 09:52:18 -08:00
transistor
6cc9e98e35 Rearranged minifb frontend to reduce the binary-specific code 2021-11-10 20:10:46 -08:00
transistor
1938fcc78c Added Z80 test with verified flag values 2021-11-10 16:05:16 -08:00