Commit Graph
54 Commits
Author SHA1 Message Date
Vincent MistlerandGitHub aede56a44a Update README.md 2023-03-05 16:10:05 +01:00
Vincent Mistler 971a811730 Improve DMG & Pocket color palettes + reset the RTC of the game cartridge 2023-02-16 15:21:24 +01:00
Vincent Mistler 9a8c00eeb4 Update to latest version of peanut_gb.h from deltabeard 2023-02-15 10:50:13 +01:00
Vincent Mistler c8ee224092 Add sd card support + savegames 2023-02-13 17:38:14 +01:00
Vincent Mistler 447ba93878 Import latest Peanut-GB (commit 72f6922) from deltabeard: gb: fix incorrect LCD timing: fixes #75 where Kirby's Dream Land 2 used an incorrect opcode. 2023-02-08 18:22:46 +01:00
Vincent Mistler 7c5bb2f2c9 Fix a bug in manual palette selection 2022-12-25 11:37:05 +01:00
Vincent Mistler 1ec7701b74 Import latest peanut_gb. from deltabeard (fix BG over OBJ with colour 0) 2022-12-18 11:41:59 +01:00
Vincent Mistler 4a0516a7ae Adjust sound volume with select+up/down & add DMG color palette 2022-12-17 16:37:47 +01:00
Vincent Mistler 0226b24c7b Assign color palettes 2022-12-12 17:40:55 +01:00
Vincent Mistler 32937a80a1 Include latest peanut_gb.h from deltabeard 2022-12-11 17:03:21 +01:00
Vincent Mistler 9fe2ca6121 Ignore error 3 "INVALID WRITE at FF7F" 2022-12-11 10:14:07 +01:00
Vincent Mistler daef90e7d2 Auto assign color palette based on rom checksum 2022-12-08 14:20:12 +01:00
Vincent Mistler 06cd4282db Include latest version of peanut_gb.h from deltabeard 2022-12-08 11:58:37 +01:00
Vincent Mistler 70c31a0b4d Improve framerate (overclock to 266MHz+SPI comunication at 30MHz) 2022-12-08 11:15:15 +01:00
Vincent Mistler 29a04ad832 Output I2S audio with PIO/DMA
Requires a MAX98357A amplifier and a 2W 8ohms speaker
2022-12-02 17:24:39 +00:00
Vincent Mistler a9f54dc37d Incorporate code changes from deltabeard/RP2040-GB 2022-11-19 17:14:49 +00:00
YouMakeTechandGitHub 06ee3ff876 Update README.md 2022-06-23 07:05:28 +00:00
YouMakeTechandGitHub f2724b3d5e Add pins assignements for Pico-GB 2022-06-14 13:34:41 +00:00
YouMakeTechandGitHub 59eec68b13 Changes for compatibility with Pico-GB hardware
Update GPIO pin numbers to match Pico-GB circuit diagram + add GPIO pins for buttons & buzzer
2022-06-14 15:16:45 +02:00
Mahyar KoshkoueiandGitHub 4f5897531b Readme: fix typo 2022-06-02 11:46:15 +01:00
Mahyar KoshkoueiandGitHub 298712b218 README: add build instructions 2022-05-30 17:54:13 +01:00
Mahyar Koshkouei 97360886ef Copy only modified lines to LCD
Results in speedup of 65 fps to 80 fps in some cases where the screen
does not change often between frames.

Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-05-22 23:31:30 +01:00
Mahyar Koshkouei 08cefc2122 Remove unused debug code
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-05-21 15:27:47 +01:00
Mahyar Koshkouei b40630e5e1 Improve screen palette
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-05-21 15:27:17 +01:00
Mahyar Koshkouei e806180914 Fix incorrect screen flip
For some reason the screen was flipped.

Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-05-21 15:25:56 +01:00
Mahyar Koshkouei 87d7e03b6e Disable DMA by default
It isn't working properly.

Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-05-21 14:52:08 +01:00
Mahyar Koshkouei 33e86e5a51 Fix LCD corruption
Fixed an issue whereby minigb_apu was being compiled even though sound
support was disabled. This was somehow causing the LCD to become
corrupted.

Additionally added sleep routines during DMA transfer to LCD.

Additionally made sound support an option within cmake.

Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-05-21 12:42:25 +01:00
Mahyar Koshkouei 71761c5dd4 Update minigb_apu to S16 version & add comments
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-05-17 22:34:11 +01:00
Mahyar KoshkoueiandGitHub 9a5123accb README: Add MIT License 2022-05-12 09:44:21 +01:00
Mahyar KoshkoueiandGitHub 4626937d56 main: add MIT License 2022-05-12 09:42:31 +01:00
Mahyar KoshkoueiandGitHub df0677d973 Update README.md 2022-04-12 12:04:14 +01:00
Mahyar Koshkouei 68b374d7a7 GB: disable wave in APU due to perf regression
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-04-03 15:06:06 +01:00
Mahyar Koshkouei 108c5bf797 GB: add minigb_apu
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-04-03 14:54:57 +01:00
Mahyar Koshkouei e01980ad84 RP2040: fix exception with memcpy
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-04-02 14:48:21 +01:00
Mahyar Koshkouei 87853543dc GB: speed improvement by caching bank0
Increases fps by up to 5.

Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-04-02 12:11:26 +01:00
Mahyar Koshkouei ab12b5a5d4 GB: Add audio processing
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-04-02 12:00:40 +01:00
Mahyar Koshkouei 840bf66a5c Set line address only & disable debug DMA
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-03-31 22:58:40 +01:00
Mahyar Koshkouei be5fbec4d8 Fix incorrect number of DMA transfers
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-03-31 22:31:09 +01:00
Mahyar Koshkouei b454fee307 Fix unused line in window
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-03-31 22:30:43 +01:00
Mahyar Koshkouei 92108a552c Fix frame count overflowing during calculation
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-03-31 22:28:35 +01:00
Mahyar Koshkouei 1cfdcbcf80 ili9225: fix incorrect DMG window offset
Additionally fixed an issue whereby blue and red colours were swapped on
the ILI9225. BGR mode actually enables RGB?

Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-03-31 22:20:32 +01:00
Mahyar Koshkouei dd0df732c9 Fix screen defects
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-03-28 20:41:01 +01:00
Mahyar Koshkouei 9d01164a77 Fix memcpy4 & add fps calculation
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-03-28 20:02:32 +01:00
Mahyar Koshkouei dfc88605c4 Use window on LCD
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-03-28 19:43:53 +01:00
Mahyar Koshkouei 4379ef9f47 Fix orientation and offset
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-03-27 22:45:47 +01:00
Mahyar Koshkouei 02c6fedeee Working multicore
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-03-27 21:58:20 +01:00
Mahyar Koshkouei 84485d98ab Add drawing to ILI9225 LCD
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-03-27 14:03:39 +01:00
Mahyar Koshkouei 3cc3b524a5 all: rename project
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-03-26 17:17:52 +00:00
Mahyar Koshkouei 4285861027 main: add VSYNC delay information
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-03-24 17:19:36 +00:00
Mahyar Koshkouei c0f9d5464d Add missing ROM
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2022-03-23 23:41:20 +00:00