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
meepingsnesroms
3089a52869
Save and load state work, clean ups
2018-08-04 13:32:47 -07:00
meepingsnesroms
1c2068ad95
Work on savestates(they may work now but are untested)
...
Also clean up directory creation, there now all created on app startup, not in every function that uses a directory.
2018-08-04 10:51:30 -07:00
meepingsnesroms
9a2d63cd1b
Qt Creator is misbehaving, this commit doesnt compile but I dont want to lose progress
2018-08-04 09:19:45 -07:00
meepingsnesroms
1d83a76481
Start working on exposing savestates to ui(not finished)
2018-08-03 20:15:41 -07:00
meepingsnesroms
45b790b1a8
I found the other 8mb, it was hiding in the SDCTRL register
2018-08-03 17:18:47 -07:00
meepingsnesroms
e541f6a923
Add RAM test
2018-08-03 09:56:52 -07:00
meepingsnesroms
f29e901c41
Better syntax
2018-08-01 18:37:54 -07:00
meepingsnesroms
e03e595cd0
Add notice of required Qt version
2018-08-01 18:33:31 -07:00
meepingsnesroms
e029f22810
Remove .pro.user files, they seem to cause issues when loaded on others computers
2018-08-01 13:03:04 -07:00
meepingsnesroms
c943b7541d
Clean ups add preliminary reason for half size RAM(8mb instead of 16mb) error
2018-08-01 11:18:18 -07:00
meepingsnesroms
2e8ae65d4b
Remove tons of unneeded address space start subtracts
...
The chip-select base address must be set according to the size of the corresponding chip-select signals of the group. For example, if CSA1 and CSA0 are each assigned a 2 Mbyte memory space, the CSGBA register must be set in a 4 Mbyte space boundary, such as system address 0 × 0, 0 × 4 Mbyte, 0 × 8 Mbyte, and so on. It cannot be set at 0 × 1 Mbyte, 0 × 2 Mbyte, 0 × 3 Mbyte, 0 × 5 Mbyte, and so on.
M68VZ328 Datasheet
2018-08-01 10:35:49 -07:00
meepingsnesroms
2d21e6fa46
Provisional chipselect fix
2018-07-31 18:39:31 -07:00
meepingsnesroms
7246c7fc8b
Use actual m515 silkscreen, touch input is now mapped properly but still crashy
...
Release in ~10 hours!
2018-07-30 18:35:10 -07:00
meepingsnesroms
f7cf86c5a9
Add vectorized m515 silkscreen
2018-07-30 17:25:25 -07:00
meepingsnesroms
0f8782222c
Fix libretro build
2018-07-30 15:29:30 -07:00
meepingsnesroms
1230df1ef6
Create resource directory if missing every time not just on first launch
2018-07-30 12:26:44 -07:00
meepingsnesroms
dc0aac322c
Make touch input activate(it still dosent work, but it does activate :) ) without pushing the up button
...
Also fix some reported bugs.
2018-07-30 10:27:00 -07:00
meepingsnesroms
9b1825e2a1
Fix touchpoint streching error, clean up formatting
...
Release imminent!
2018-07-29 19:07:51 -07:00
meepingsnesroms
9aa550f3ee
Fixed RTC, 0x000A was used as mask instead of 0x00A0
...
Also more accurate secondary timing stuff.
2018-07-28 20:20:13 -07:00
meepingsnesroms
95d1c8cf2d
Clean ups, add picture
2018-07-28 14:42:38 -07:00
meepingsnesroms
76282fdcf1
Make hacked pen work(kinda)
2018-07-28 14:21:09 -07:00
meepingsnesroms
e47e71b07c
Clean up old code, test PENIRQ readability
2018-07-28 13:48:50 -07:00
meepingsnesroms
92368980b7
Give each GPIO its own function
...
This also seemed to fix the grey screen at boot up, likly due to setting special function bits to 0 with P*SEL registers.
2018-07-28 11:58:36 -07:00
meepingsnesroms
a753dd7435
Make debug viewer resizeable
...
Also disable register logging outside of sandbox tests, it boots now so any test can just be done by running the OS function directly.
2018-07-28 09:52:10 -07:00
meepingsnesroms
9a63b142e3
Use doubles for more precision
2018-07-28 08:48:33 -07:00
meepingsnesroms
d39182e354
Fix signed chars causing an invalid bitshift
2018-07-27 10:27:31 -07:00
meepingsnesroms
03b646f839
Fix RGB lut registers being swapped for sed1376 and misconceptions about RGB16
...
Also add a real heat map function.
2018-07-26 20:27:13 -07:00
meepingsnesroms
64ceb7695c
Add buffer graph viewer and fix some style nits
...
The analog resistance values per pixel can now be seen.
The raw RGB16 display mode does have an issue when transitioning from red to green and green to blue where the pixel is almost black though.
2018-07-26 16:18:10 -07:00
meepingsnesroms
a6d08d0c93
Add touch map data, viewer for it coming soon
2018-07-25 09:44:49 -07:00
meepingsnesroms
0b169e56ab
Add tool to create a touchscreen lookup table
...
The 20 pixel at a time y limit is because Palm OS seems to not allow allocating >64k at a time.
Also removed unsafe mode, whenever a test needs to do something unsafe it can just call turnOffInterrupts()
2018-07-24 17:06:44 -07:00
meepingsnesroms
29f3bb5c2c
Can now execute private APIs by name with ~50% accuracy
...
Its using a string finder so I cant get 100% but 0x0000 opcodes still need to be accounted for, that should get ~95%.
2018-07-20 20:06:45 -07:00
meepingsnesroms
19971cdad7
Use rng in tests to verify that results arnt just a coincidence
2018-07-20 16:43:22 -07:00
meepingsnesroms
622c079b6b
Fix stack direction in sandbox, add missing \n's
...
Also make ADS7846 read cycle 4 bits shorter on an 8 bit read as documented in the datasheet.
2018-07-20 12:56:01 -07:00
meepingsnesroms
5725851fb3
Can now execute private APIs in sandbox by address
2018-07-19 10:08:29 -07:00
meepingsnesroms
0131035b79
Sandbox is working
...
Tests are still launched with a button in a hacky way but they work.
2018-07-19 02:59:08 -07:00
meepingsnesroms
a071f83f8e
Make a sandbox area to test how the OS is interfacing with the emulator
...
Also clean up emulator.c of all the debug stuff.
2018-07-18 17:02:17 -07:00
meepingsnesroms
a275c8eca0
Allow IMR to mask interrupts after they are created
...
This can be used to acknowledge level triggered interrupts which cant be cleared.
2018-07-18 12:03:06 -07:00
meepingsnesroms
240e6ab72c
Add uncalibrated touchscreen read pixel plotting and manual refresh in ADS7846 Read
2018-07-17 20:20:46 -07:00
meepingsnesroms
799d8daa61
Values returned are based on power save, single vs diferencial reference seems to do nothing on hw
2018-07-15 12:44:54 -07:00
meepingsnesroms
9e4f630f64
Add better way to read single reference ADC values
...
Alos remove incomplete remote access drivers since they are no longer needed and taking up some of the 32k CODE0 space.
2018-07-14 17:11:20 -07:00
meepingsnesroms
edb0ec8a8c
Can now read single ended reference properly
...
The differencial reference values are also more reasonable now.
2018-07-13 08:42:34 -07:00
meepingsnesroms
9311ae8045
The CPU can now be turned back on by interrupts, but you have to push power twice(its a bug)
2018-07-05 10:22:03 -07:00
meepingsnesroms
e6cc28eb6a
Fix 1 bit being missing on conversions
...
For some reason non differencial mode still only shows 0x0FFF for everything.
2018-07-04 14:31:22 -07:00
meepingsnesroms
91397be386
Start adding analog values
2018-07-04 11:50:49 -07:00
meepingsnesroms
a5dfc21d43
SPI2 dosent alway shift out the top bit
...
It shifts out from bit transferSize - 1 and shifts in to bit 0.
With this my test suite can now read the touchscreen without running private APIs.(the ADC value range wrong though because its read too fast)
2018-07-03 10:54:59 -07:00
meepingsnesroms
0990509918
The top bit of SPIDATA2 seems to directly drive the SPITXD2
...
I thought the bit had to be shifted off the end of the register before it took effect.
It now properly reads form the battery on boot.
2018-07-02 18:50:04 -07:00