Commit Graph

690 Commits

Author SHA1 Message Date
meepingsnesroms
97cd9bc543 Can now get SD cards size properly on format, reduce offsets from 64 to 32 bit
If theres a > 4gb savestate, thats the problem, not the address bits in the offset.
2019-02-25 15:32:35 -08:00
meepingsnesroms
7660f2e64b Move CRC tables out of main file, start switch away from fixed CSD, having it breaks formating cards that arnt 1gb 2019-02-25 14:03:54 -08:00
meepingsnesroms
338aa7ed4e Enable SD access on RetroArch port 2019-02-25 10:27:58 -08:00
meepingsnesroms
d43d9c637f v1.0.0 prep 2019-02-25 09:18:01 -08:00
meepingsnesroms
a51a549ecd Remove USB hack 2019-02-25 08:45:11 -08:00
meepingsnesroms
7c0a2b0dde Write works add new SD card vars to save states 2019-02-25 06:46:48 -08:00
meepingsnesroms
1543c35f49 Writing now works with hack, dont know what causes the desync
Just need to remove this hack and the NOP patch applied to the serial/USB print routine and then I will be ready for another release
2019-02-24 23:15:18 -08:00
meepingsnesroms
0710c2cf26 May have an idea of what is wrong with SD writes
Also add a common sense limit of 2gb to the SD card insert routine.
2019-02-24 21:54:36 -08:00
meepingsnesroms
31fbd559f5 Still gives error on write but seems to actually write the data, at least the first block
Dont know what is wrong yet.
2019-02-24 16:57:03 -08:00
meepingsnesroms
57c24f55d6 SD card write is starting to work 2019-02-24 14:52:16 -08:00
meepingsnesroms
0290174a7e SD card now reads properly 2019-02-24 13:15:00 -08:00
meepingsnesroms
5cc6f229c1 Will attempt to format the card now, but will fail because writes arnt implemented 2019-02-24 11:40:23 -08:00
meepingsnesroms
ff04a096b9 Actually send the data instead of sending the token 512 times
SD card now displays properly at least, data transfer is still broken.
2019-02-24 11:25:28 -08:00
meepingsnesroms
fb9bd5243d Try to get SD card multiblock read working, its still not though 2019-02-23 14:56:07 -08:00
meepingsnesroms
915e7d3247 Almost have single block read working on SD card 2019-02-23 13:25:27 -08:00
meepingsnesroms
42852dc331 Add large FIFO for SD card responses, can now read the OCR, CSD and CID 2019-02-23 11:17:30 -08:00
meepingsnesroms
1662655786 Now initializes SD card, but gives up after reading OCR 2019-02-22 13:35:41 -08:00
meepingsnesroms
3f0e0baca0 Almost able to fully initialize SD card 2019-02-22 13:11:53 -08:00
meepingsnesroms
d802e93681 Add SD card response bits 2019-02-22 12:08:01 -08:00
meepingsnesroms
142b8152d8 More SD card stuff 2019-02-22 11:36:40 -08:00
meepingsnesroms
8dbc416bfd SD card init step 1 now works, needed to unset the XCH bit 2019-02-22 09:57:08 -08:00
meepingsnesroms
0cdf24711b More SD card stuff 2019-02-21 13:26:55 -08:00
meepingsnesroms
3cb346bbbb Remove old feature bits 2019-02-21 11:41:47 -08:00
meepingsnesroms
a57d45862e Use lowercase paths like pilrc 2019-02-21 11:03:31 -08:00
meepingsnesroms
c7dc657de5 Fix 2 bitmap converter bugs, all the icons work now 2019-02-21 10:22:52 -08:00
meepingsnesroms
a1dba7bb9f Move expansion hardware stuff 2019-02-20 12:43:31 -08:00
meepingsnesroms
d39eb886f1 Add remaining standard accessors for SED1376 2019-01-24 12:41:58 -08:00
meepingsnesroms
afb43ff3eb Change how ARM stack is set, add memalign functions
Need to patch the Palm OS malloc function to always allocate 32 bit aligned too.
2019-01-23 14:28:11 -08:00
meepingsnesroms
7c585bd242 Add simple accessors for SED1376 timing registers 2019-01-21 20:54:21 -08:00
meepingsnesroms
d305fe4dfc Update muExpDriver add a GUI(its still nonfunctional though) 2019-01-21 19:25:09 -08:00
meepingsnesroms
f9229590f5 Add CPU speed to muExpDriver 2019-01-20 14:26:51 -08:00
meepingsnesroms
64ec6f6e91 Allow the emulator to set its own speed, prep for Chuzzle
This is far cleaner than a normal overclock, its always 100% on boot to allow normal init and custom speeds can be set per app, this was not doable with just FEATURE_FAST_CPU doubling the clock speed.
2019-01-20 10:08:00 -08:00
meepingsnesroms
133484b0dc Put memory saving back to normal
First OS 5 game is running, its not ARM though.
2019-01-19 09:41:06 -08:00
meepingsnesroms
7b39db4782 Update memory comments, add value to ARMv5 save state 2019-01-17 19:33:01 -08:00
meepingsnesroms
8a990b2839 Increase ADS7846 accuracy, implement PLLFSR 8 bit reads, enable logging on all unemulated regiser accesses 2019-01-17 13:45:11 -08:00
meepingsnesroms
4f96b53bb1 Make return/break syntax match for all memory accessors 2019-01-16 19:40:09 -08:00
meepingsnesroms
6ba1e42926 Match switch/return style, THE LAST COMMIT AND THIS HAVE BROKEN RAM ACCESS
Running experiments on larger RAM sizes, normal RAM access is broken right now.
2019-01-16 14:37:18 -08:00
meepingsnesroms
424a0cb5a5 Too much stuff to list 2019-01-16 14:21:38 -08:00
meepingsnesroms
8304eb33f9 More driver work 2019-01-11 15:54:34 -08:00
meepingsnesroms
0b645f8d7e Fix invalid SDK patch, try to add basic GUI 2019-01-10 10:16:19 -08:00
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