65 Commits

Author SHA1 Message Date
481a0cb0dc move maple definitions to a new maple/ directory
maple.cpp now uses the new maple_bus_commands.h
2023-12-09 16:38:57 +08:00
c8ed8cdf9e maple: add maple_bus_commands.h 2023-12-09 16:14:21 +08:00
f1a32d0719 maple: send a 'device request' command
On an emulator, the receive buffer is filled with the correct/expected
data for 'device status'.

I found this experiment useful:

- it revealed a bug in my register struct generator code (the
  maple_if-related registers were not at the correct offsets)

- it validates my understanding about endianness-swapping between the
  maple bus and the SH4
2023-12-09 01:31:34 +08:00
3f30c96dcd add more notes on maple 2023-12-08 11:22:15 +08:00
b99722a6df _bits: use more bits generated from spreadsheets
This rearranges scene.cpp to a file organization that more closely
follows which code is responsible for what area of (hardware)
initialization.

All TA and CORE register accesses now use the new ta_bits.h and
core_bits.h, respectively.
2023-12-05 00:16:38 +08:00
67f809c98d vga: use core_bits.h 2023-12-02 20:51:48 +08:00
0d8bda28fe add core_bits.csv 2023-12-02 15:20:04 +08:00
37667a4dab regs: add core and ta bits 2023-12-02 12:31:00 +08:00
ff2dcc7d71 draw 1 triangle 2023-11-30 10:02:49 +08:00
329ada55f1 add code loading and test program
This was used to troubleshoot video output and framebuffer
configuration registers.
2023-10-16 19:24:51 +00:00
99701f0b57 main: initial vga mode setting
This feels very hacky, and I'd like to make this better.
2023-10-13 05:36:38 -07:00
2bcf1aedef cache: clear all instruction/operand caches 2023-10-12 09:43:54 -07:00
a4ac9fa4c8 systembus.h: initial
This does not yet declare any externs, as I'm not certain how those should work.
2023-10-11 15:39:55 -07:00
ee9e44e4a6 regs: add systembus and memorymap 2023-10-11 15:33:53 -07:00
5c4c107eaf add sh7091 and holly registers 2023-10-11 09:01:56 -07:00