Commit Graph

369 Commits

Author SHA1 Message Date
meepingsnesroms
803cd95c5a ADS7846 chip select now resets ADS7846
And the long saga of glitchy touchscreen issues and failed solutions finally comes to an and, now to the far more complicated SPI protocol, an entire SD card.
2018-09-20 10:30:09 -07:00
meepingsnesroms
559a7b5818 Switch to testing ISR instead of IPR
There is still bizzare behavior with INT* edge triggered interrupts
2018-09-20 09:45:44 -07:00
meepingsnesroms
b35e385382 Start the changelog, use a better interrupt blocking method in hwTests 2018-09-19 22:30:01 -07:00
meepingsnesroms
0c3d3da52e Update tests, prepare to make changelog 2018-09-19 21:53:07 -07:00
meepingsnesroms
176908c197 Remove fixed issue from list, put state type back, just gonna leave it 0 till v1.0 2018-09-18 19:19:30 -07:00
meepingsnesroms
e2f4e9f085 Start adding other SD card propertys and picture of working touchscreen
Done for today now.
2018-09-18 18:33:57 -07:00
meepingsnesroms
431cf94a8b I accidentaly fixed the touchscreen, it could have been the edge triggered interrupt fix or the reset on enable
I will figure that out later, it works, the hack is gone, playing with the touchscreen will no longer crash the emulator.
2018-09-18 17:16:38 -07:00
meepingsnesroms
597555f075 Solved USB issue with a hack, real USB responses will come after SD card works
The device now boots with an emulated SD card inserted.
2018-09-18 13:30:19 -07:00
meepingsnesroms
dd128c014d I turns out there is no CPU32, so that makes things alot simpler
MC68VZ328UM.pdf Chapter 1.2.3 FLX68000 Instruction Set lists the instructions and theres no CPU32

Start preparing in emu breakpoints.
2018-09-18 12:34:48 -07:00
meepingsnesroms
3ec12eb174 Add install.sh for testSuite
Add new test for IRQ* interrupts
2018-09-18 09:45:54 -07:00
meepingsnesroms
fb925b405a Add new IRQ2 information 2018-09-09 09:50:25 -07:00
meepingsnesroms
c07c100f3d New test added 2018-09-08 16:34:46 -07:00
meepingsnesroms
1034ad8575 Fix up FIFOs, may boot with SD inserted, not tested yet 2018-09-08 13:17:22 -07:00
meepingsnesroms
b66cfb5757 Prevent buffer overflow 2018-09-02 16:29:20 -07:00
meepingsnesroms
908263a7a4 Add basic USB FIFO 2018-09-02 16:13:57 -07:00
meepingsnesroms
44fbcff357 Clean ups, mark unverified claims better, remove more invalid assumptions about m68k having 32 data lines 2018-08-31 16:38:43 -07:00
meepingsnesroms
92128f00c0 Attach USB chip the (assumed)correct way
Now reading/writing to the USB chip.

Some new bugs may have been introduced
2018-08-31 13:37:09 -07:00
meepingsnesroms
790ef1f3f6 Start adding USB chip since it seems to be needed to use the SD card interrupt properly 2018-08-21 16:51:40 -07:00
meepingsnesroms
1a32266d28 Fix another Qt bug 2018-08-20 11:04:57 -07:00
meepingsnesroms
739a067b76 Add edge triggered interrupts back, hopefully forever now 2018-08-16 21:55:48 -07:00
meepingsnesroms
0f16afd948 All the chips now save their own state
The SD card data buffer is now allocated before any state data is loaded so a failed load state cant corrupt the the existing state.

1 GUI bug on Android remains before hooking up the SD card SPI, also need to fix something else for RetroArch so progress may slow down for a week.
2018-08-14 14:23:23 -07:00
meepingsnesroms
b536d4be5c Make the SED1376 save its own state, ADS7846 is next 2018-08-14 01:25:22 -07:00
meepingsnesroms
2e9578656f No need to save the CPU type in states, its always 68328(68000 to musashi) 2018-08-13 17:46:15 -07:00
meepingsnesroms
9efae69e71 The program counter and status register were not saved properly with the old method, load stating after a emulated crash or lockup now works 2018-08-13 17:41:25 -07:00
meepingsnesroms
dea024e324 Cleanups, fix a memcpy going the wrong direction 2018-08-13 15:54:16 -07:00
meepingsnesroms
85ddca5369 make 68328 its own module 2018-08-13 11:49:55 -07:00
meepingsnesroms
c6391af26a Start redoing CPU savestate, the PC and SR arnt saved properly 2018-08-13 11:43:50 -07:00
meepingsnesroms
da664b141f Fix sdcard.* Pt:2 2018-08-13 10:16:23 -07:00
meepingsnesroms
aafc708648 Fix sdcard.* names Pt:1 2018-08-13 10:15:49 -07:00
meepingsnesroms
33330bbeb3 Dident mean to comment that out 2018-08-12 12:44:21 -07:00
meepingsnesroms
dd53dc9b01 Cleanups, new bug found 2018-08-12 12:42:36 -07:00
meepingsnesroms
819182a883 Fix SD card wiping bug and missing play button after debugger opened 2018-08-11 15:41:21 -07:00
meepingsnesroms
351fe25deb Will now attempt to mount a file as an SD card if present
SPI1 is not fully set up so the Palm still wont recognize it.
2018-08-11 14:56:40 -07:00
meepingsnesroms
4c25518ba6 States can now be deleted, cleanups 2018-08-11 13:25:38 -07:00
meepingsnesroms
8b1e0e5d57 Remove delta savestate compression
Its a huge mess and the same thing can be accomplished by setting the emu directory to a zfs partition.

This will make working on the SD card interface significantly easier.
2018-08-11 12:49:53 -07:00
meepingsnesroms
f1fe87a80c Prevent clearing of RTC on reset 2018-08-10 10:15:46 -07:00
meepingsnesroms
0194633887 Add more information about the emulator data structure
Also set the RTC on boot, it now uses the system time(it will not remain in sync though, this is not a bug the RTC is synced to CLK32 not the host RTC)
2018-08-10 09:58:57 -07:00
meepingsnesroms
c75aa00def More SPI1 stuff 2018-08-09 19:06:01 -07:00
meepingsnesroms
e659a7776c SD card is always treated as 2 words now, start adding SPI1 2018-08-09 18:30:54 -07:00
meepingsnesroms
6093db40b4 Cleaned up some bugs, found some new ones 2018-08-07 11:34:03 -07:00
meepingsnesroms
04bee3975f Remove unfinshed test programs, add running directions
Credits where removed for the old icon set but those icons have already been removed so all proper credit was given.
2018-08-07 10:15:22 -07:00
meepingsnesroms
505aafe987 Fixed 3 ui issues, icons are now SVG so they can grow to infinite size 2018-08-06 19:35:05 -07:00
meepingsnesroms
c10f6e95af Clean up svg blemishes 2018-08-06 14:01:11 -07:00
meepingsnesroms
2f4b30b0ce Clean up the GUI some
Next is all the icons and updating the silkscreen svg.
2018-08-06 13:51:52 -07:00
meepingsnesroms
eb5706b0a6 Done working on the emu core for now, gonna fix all the gui hacks first 2018-08-06 12:54:51 -07:00
meepingsnesroms
edfcaff30b Fix invalid statement about ROM to RAM copying, add chipselect nubers to memory map 2018-08-05 14:27:12 -07:00
meepingsnesroms
c19f90d009 Add back unknown register debug handlers 2018-08-05 12:20:19 -07:00
meepingsnesroms
6c48edf51d Automatic RAM handling, load on start, save on exit
This will be useful for those who dont use savestates.
Something similar will need to be added for the sd card.
2018-08-04 18:30:08 -07:00
meepingsnesroms
09fae2670a RetroArch buld is working again, simplify RAM access 2018-08-04 15:46:23 -07:00
meepingsnesroms
0703f9cd69 Fix jittering 2018-08-04 13:49:58 -07:00