Commit Graph

159 Commits

Author SHA1 Message Date
meepingsnesroms
3740ccdd55 Remove attempted graphics viewer, I can just take a hex dump and view it on rawpixels.net 2018-04-30 17:31:27 -07:00
meepingsnesroms
d07dbb3964 Add hires mainboard photos 2018-04-30 16:08:22 -07:00
meepingsnesroms
966623a981 Remove unneeded romBuffer, it just wastes 4mb 2018-04-30 15:54:27 -07:00
meepingsnesroms
a6bcca468b Add buffer_t to return buffers from sdcard chunk functions
More safety checks.
Also verified the RetroArch port still compiles.
Add separate min and max for signed and unsigned types
2018-04-30 15:05:05 -07:00
meepingsnesroms
888ff8e039 Add support for setting the sdcard from a file, could be useful for palm sdcard game packs
Also make all NULL checks match using !var instead of var == NULL.
2018-04-30 13:36:42 -07:00
meepingsnesroms
08eea8dcd1 Alot, ...
FEATURE_RAM_HUGE is now fully hooked up.
Fix port d edge triggered interrupts when PLL is off.
Add unfinished SPI1 support.
Variable alignment cleanups.
Add more timer registers.
RTC is now set on emulatorInit(), but still not called on emulatorReset() to preserve RTC through resets
2018-04-30 11:21:22 -07:00
meepingsnesroms
0f4c0a1e25 Timer interrupts can now be cleared, fix palmCrystalCycles being read uninitalized in first call to recalculateCpuSpeed() 2018-04-29 23:16:14 -07:00
meepingsnesroms
3a43cbad4b Add timer status lock logic 2018-04-29 21:29:13 -07:00
meepingsnesroms
9f5c8403d9 Add timer compre event and register accessors 2018-04-29 17:28:38 -07:00
meepingsnesroms
c8d1f61144 Cleanups, add more registers 2018-04-29 14:25:10 -07:00
meepingsnesroms
54ae724b5a Add more registers 2018-04-29 14:09:08 -07:00
meepingsnesroms
af29f58714 Hook up ADS7846 2018-04-29 13:19:05 -07:00
meepingsnesroms
64dc2e49d9 Add touchscreen chip datasheet and emulation 2018-04-29 11:06:03 -07:00
meepingsnesroms
62cb487dfa Remove old credits, there all on the front page anyway, buttons now squishable to any size, run/pause and hex editor have icons 2018-04-28 14:01:28 -07:00
meepingsnesroms
21a7d0e94b Add double buffering, fixes flickering when rendering SED PIP window 2018-04-28 09:29:10 -07:00
meepingsnesroms
7cec02d383 Add more icons, grey out buttons that cant currently be used
The play/pause icon currently doesnt work.
2018-04-27 20:36:20 -07:00
meepingsnesroms
0b9f8e35f9 Run emu on its own thread/CPU if avaliable, prevents the GUI from becoming laggy when pushing buttons 2018-04-27 07:01:35 -07:00
meepingsnesroms
1e4d40e112 Clean up Qt GUI, remove old unused buttons, add android icons
Also make more android friendly since its the main target platform.
2018-04-26 22:57:00 -07:00
meepingsnesroms
bef92eda08 Add SPI2 reading and logging 2018-04-26 12:34:45 -07:00
meepingsnesroms
0fa0263fcf I am using c99 anyway so just remove the bool conversions, stdbool and != 0 == true is required by the c99 spec
Also remove all the unneeded libretro dependancys for the qt port
2018-04-26 10:46:52 -07:00
meepingsnesroms
79117a3332 Add new test suite version 2018-04-25 21:02:58 -07:00
meepingsnesroms
97a9da4087 hwTestSuite subprogram switching doesnt corrupt the graphics
Also now restores the previous subprograms state properly on exitSubprogram().
2018-04-25 18:14:48 -07:00
meepingsnesroms
12f01804c5 Only use malloc on things of variable size or that may not be needed, update unimplementedFeatures.txt 2018-04-25 17:46:20 -07:00
meepingsnesroms
3b1756efae Add list all P*DATA registers mode for hwTests
Also remove UINT64_C anc UINT32_C, they were meant to fix a sprintf issue but they dident and were leftovers.
2018-04-25 16:15:37 -07:00
meepingsnesroms
b4e77528cf Share hardwareRegisterNames.h between tests and emulator, update emuFeatureRegisterSpec.h 2018-04-25 13:15:49 -07:00
meepingsnesroms
e823317905 Free memory on exit for RetroArch port. 2018-04-25 12:25:44 -07:00
meepingsnesroms
c3681e4e3a Add simple SPI ring buffer, remove fixed size buffers cant have fixed 128mb buffer on a 3DS
If lucky it will fully boot in the next week, but without audio and enhancements.
2018-04-25 12:12:46 -07:00
meepingsnesroms
f7498ac6eb Add min, max 2018-04-24 23:04:06 -07:00
meepingsnesroms
8cd5336a93 Fix invalid value/divide by 0, cleanups 2018-04-24 22:51:21 -07:00
meepingsnesroms
c3b2088f01 Get android compiling, cleanups 2018-04-24 19:49:54 -07:00
meepingsnesroms
2d39345ad8 Add PCTRL register, use specific function to set CPU speed 2018-04-24 15:25:28 -07:00
meepingsnesroms
26259b8ce6 Fix LUT issue, link.T now works. 2018-04-24 14:27:29 -07:00
meepingsnesroms
9bbb5a68e3 Fix #1 2018-04-24 13:53:00 -07:00
meepingsnesroms
327cd8d310 Remove screen hack, boot logo now displays without hacks but still wrong colors 2018-04-24 13:15:45 -07:00
meepingsnesroms
e76198798a Add proof of boot 2018-04-23 19:22:20 -07:00
meepingsnesroms
b64e916cdf Remove std string, replace with QString, clean up file access 2018-04-23 19:19:15 -07:00
meepingsnesroms
450a317cd7 Framebuffer now drawing 1/8 of the boot logo on the left side
For some reason Palm uses the picture in picture registers for the bootlogo.

HexViewer can now dump memory to .bin files.
2018-04-23 17:30:15 -07:00
meepingsnesroms
0936503cc1 Clean up the code blob in hardwareRegisters.c 2018-04-23 10:02:54 -07:00
meepingsnesroms
ddeaf0f84d HexViewer now works properly, remove unneeded(/) 2018-04-22 22:07:02 -07:00
meepingsnesroms
1fb2d20c8c Fix lockup on HexViewer 2018-04-22 21:24:35 -07:00
meepingsnesroms
60f017fbaf Clean ups, for some reason HexViewer now locks up when opened 2018-04-22 17:22:48 -07:00
meepingsnesroms
1862d1feb4 Start adding hex viewer to check RAM, other fixes 2018-04-22 16:30:01 -07:00
meepingsnesroms
435379a7cc More registers 2018-04-21 20:32:08 -07:00
meepingsnesroms
b848627ab5 More LCD controller work 2018-04-21 12:59:23 -07:00
meepingsnesroms
97b021f3f6 Add more display controller registers, style cleanups 2018-04-21 11:00:37 -07:00
meepingsnesroms
296666f435 Add more debug defines 2018-04-19 21:16:07 -07:00
meepingsnesroms
1ea5a05f43 Add more default read registers 2018-04-19 15:56:57 -07:00
meepingsnesroms
793f63c4f2 Now writing to display controller, make hardwareRegisterNames match code style
No framebuffer yet
2018-04-19 14:29:49 -07:00
meepingsnesroms
0538cc2aad Icons now scale properly 2018-04-19 09:51:52 -07:00
meepingsnesroms
ffa94967a1 Add button icons, currently they dont resize though 2018-04-19 09:04:34 -07:00