Commit Graph

650 Commits

Author SHA1 Message Date
meepingsnesroms
f02bba3755 Start work on GUI 2019-01-10 09:05:45 -08:00
meepingsnesroms
1282d1b2b7 Put all the *.func blobs back, everything compiles
Presumably ARM should run now as is if there isnt any more unforseen circumstances.
2019-01-10 08:53:56 -08:00
meepingsnesroms
23b5fc6456 In emulation there is no right or wrong, only success or failure
The ARM blobs are back, they were checked with online dissasembler, no more low level ARM C compiling, its too much work.
2019-01-09 20:59:02 -08:00
meepingsnesroms
60b14cf79b This was a horrible experince, prc-tools is shit
There is no way to reliably write to a register in C, volatile is broken, optimizations cant be disabled, and the standalone code resource macros only work in C, so getting the correct register state for hypercall is impossible without making binary blobs at least for ARM, the 68k blob function seems OK to optimize since it isnt interrupted.
2019-01-09 19:47:14 -08:00
meepingsnesroms
def07b53d0 Ok, ARM blobs seem to be compiling 2019-01-09 11:47:17 -08:00
meepingsnesroms
e885942603 Remembered the register keyword, can just do the stack stuff in C with no vars on stack 2019-01-09 10:49:18 -08:00
meepingsnesroms
bf2163b21d This function seems to be done, now comes ARM asm 2019-01-09 09:29:28 -08:00
meepingsnesroms
02033457de Try to match Palm OS call format exactly
Not tested yet
2019-01-09 08:19:35 -08:00
meepingsnesroms
7e17a5a3e8 Add asm stuff 2019-01-08 21:34:33 -08:00
meepingsnesroms
5d4df87b7c Implement the ASM functions in psudocode
Have to manually compile it bit by bit then endian swap the ARM opcodes
2019-01-08 19:12:53 -08:00
meepingsnesroms
d16f495f1c Write C part of PceNativeCall handler 2019-01-08 16:16:54 -08:00
meepingsnesroms
7581114be6 Allow setting device IDs to match the screen and CPU type 2019-01-08 12:19:16 -08:00
meepingsnesroms
84d96c29d7 Early commit, unfinished
I am going to be pushing unfinished commits more now becuse my dev laptop is on the decline and I dont want to lose progress.
2019-01-08 11:19:11 -08:00
meepingsnesroms
fa7194f1f5 Commit finished, custom IO is working 2019-01-07 20:03:11 -08:00
meepingsnesroms
fad58ee6f3 Unfinished, computer is acting physically broken
May not work anymore after reboot so Ill just commit now.
2019-01-07 16:53:55 -08:00
meepingsnesroms
32f440a26d Correct code style a bit 2019-01-04 15:02:22 -08:00
meepingsnesroms
6d2466cf3b muExpansionDriver now compiles!!! 2019-01-04 13:29:36 -08:00
meepingsnesroms
e4625f1233 Try to get muExpansionDriver compiling, still not compiling though 2019-01-04 12:56:16 -08:00
meepingsnesroms
512dd785f6 Work on OS side driver, use (void) instead of () in Palm tools 2019-01-04 12:02:38 -08:00
meepingsnesroms
e1ef2fe5a1 ARM now seems to be fully attached, also hooked up more emu commands(Ill need them later anyway)
Just need to write the driver and get save states working for ARM.
2019-01-04 11:06:50 -08:00
meepingsnesroms
7238544735 Add more ARM stuff 2019-01-03 14:00:34 -08:00
meepingsnesroms
b3c2d4c09b Start emu side driver, ...
Label 64 bit constants to prevent them form being truncated, remove EMU_CMD_KEY, nothing is going to make arbitrary writes to the space I am using.
2019-01-02 17:13:01 -08:00
meepingsnesroms
2d1fcbdfb9 Attach more hardware registers 2019-01-01 14:01:00 -08:00
meepingsnesroms
bf65ad9b38 ARM stuff step 1
Dont know how many steps this will take, its very complicated :)
2019-01-01 12:13:59 -08:00
meepingsnesroms
8b008aa575 Clean up flx68000PcLongJump remove more safety checks from release builds 2018-12-31 11:19:13 -08:00
meepingsnesroms
20f1e8b2ed Remove old function 2018-12-31 09:46:40 -08:00
meepingsnesroms
9761b9baca Update code for fast local memory access 2018-12-31 09:03:36 -08:00
meepingsnesroms
4144f7c8b6 Prevent unaligned 32 bit accesses 2018-12-29 17:46:11 -08:00
meepingsnesroms
a9fbe45d52 Try to move cyclone speedups to musashi since cyclone is gone 2018-12-29 14:05:20 -08:00
meepingsnesroms
6829ed6f81 Finish removing cyclone 2018-12-29 12:05:48 -08:00
meepingsnesroms
f34256ba69 No more cyclone 2018-12-29 11:40:04 -08:00
meepingsnesroms
abb2e6526b Disable cyclone again
As of now its not stable and there isnt plans to reenable it unless someone else can figure out what is wrong since I dont know ARM ASM.
2018-12-28 16:57:58 -08:00
meepingsnesroms
d96c0ec8c4 Fix typo 2018-12-27 20:19:03 -08:00
meepingsnesroms
6c37868055 Add extra bits to savestate
Need too move the SD card varibles into sdCard.c and add *prepareLoadState() and *finishedLoadState() for modules that need memory buffers like the SD card.
2018-12-27 19:59:43 -08:00
meepingsnesroms
b02fa8ba52 More SD card fixes 2018-12-27 17:50:02 -08:00
meepingsnesroms
94b0baaf7f Update .txt files, fix writes to IMR blocking vaild interrupts instead of invalid ones
Figure out SD card chip select.
Port D now seems to be fully datasheet compliant, interrupt quirks and all.
Add new bits to SD card.
2018-12-27 17:25:02 -08:00
meepingsnesroms
f8baa0eb85 See description below
Fix FIFO incaauracys.
Remove extra left shift on SPI1 data after the final bit is in.
Remove old image when last state is deleted.
Set active state to the newest one on save state and update image accordingly.
Set spi1RxOverflowed to false on boot.
Move variables to top of function in mainwindow constructor.
2018-12-27 14:56:01 -08:00
meepingsnesroms
538fd36c08 Allow any custom fb size part 2 2018-12-27 10:15:44 -08:00
meepingsnesroms
335997f19c Allow any custom fb size part 1 2018-12-27 09:24:22 -08:00
meepingsnesroms
8033d13a18 Fix link.T for classics 2018-12-24 12:59:59 -08:00
meepingsnesroms
1aa9fb1bfc Fix returning port k for port f 2018-12-22 11:54:23 -08:00
meepingsnesroms
9ca44a6df2 Fix naming convention in hwrTestSuite 2018-12-20 20:24:30 -08:00
meepingsnesroms
0d9cd1593b Get tests and emu in sync, fix typo 2018-12-20 20:20:23 -08:00
meepingsnesroms
43193102a5 Add issue template 2018-12-13 17:36:55 -08:00
meepingsnesroms
9ee5effbe5 Try to redo port d interrupts again, they all seem to be right this time 2018-12-10 21:56:31 -08:00
meepingsnesroms
d3b19424b0 SD card now replying to commands, Palm OS still isnt getting the reply though(dont know why) 2018-12-10 12:19:08 -08:00
meepingsnesroms
038f284333 Add SD CRC stuff 2018-12-09 22:33:39 -08:00
meepingsnesroms
22f6d04a94 More SD card stuff 2018-12-09 20:15:55 -08:00
meepingsnesroms
68c3f32b64 Fix initialization order in emulatorInit 2018-12-09 18:57:48 -08:00
meepingsnesroms
5fb76083cf Remove state bool accessor, didnt store as a bool anyway, save SD card state properly 2018-12-09 15:31:49 -08:00