Commit Graph

481 Commits

Author SHA1 Message Date
Konrad Beckmann
d4854c7310 Add initial GUI hack 2020-12-27 16:17:27 +01:00
Konrad Beckmann
4678e7ea1a Add v4l2 screengrabber 2020-12-18 14:01:02 +01:00
Konrad Beckmann
95252992b8 Fix nes NN blit function
Also add possibility to choose between 307 and 320
pixels wide upscaling.
2020-12-18 13:48:36 +01:00
Jan Dumon
fe182651b0 fixed pointer in call to OSPI_WriteBytes 2020-12-14 20:33:42 +01:00
Jan Dumon
2ba0693124 protect the nullpointer redzone with the MPU
An additional region is configured in the MPU to cause memory faults
when the processor tries to access the nullpointer redzone.
2020-12-14 11:36:09 +01:00
Konrad Beckmann
da93267953 Fix broken memcpy implementation
Related to #13
2020-12-12 13:43:30 +01:00
Konrad Beckmann
181ce5b894 Build with D_FORTIFY_SOURCE=1
This also adds a naive memcpy implementation to work around
bounds checks. This is done because of symbols coming from
the ld script that don't have the correct length.

If anyone knows how to fix this properly, PRs are always welcome!

This is an alternate solution to #13
2020-12-12 13:38:17 +01:00
Konrad Beckmann
224af81740 Add missing entry in gw_linker.h 2020-12-11 15:33:15 +01:00
Konrad Beckmann
89abc22b27 Nullpointer redzone 2020-12-11 13:22:06 +01:00
Konrad Beckmann
5b26da5b38 ld: Allocate 4kB of stack 2020-12-11 03:25:00 +01:00
Konrad Beckmann
b5a14a7726 Makefile: Add -DIS_LITTLE_ENDIAN
This fixes the nes state saves
2020-12-11 03:22:52 +01:00
Konrad Beckmann
b7cc8814bb Sample initial button states 2020-12-11 02:24:49 +01:00
Konrad Beckmann
17a26346f8 ld: Fix memory regions in ldscript slightly 2020-12-11 02:13:39 +01:00
Konrad Beckmann
67c17ab870 Makefile: Run size.sh, depend on ldscript 2020-12-11 02:12:12 +01:00
Konrad Beckmann
a31273498b nes: Support toggling ROM cache 2020-12-11 02:11:31 +01:00
Konrad Beckmann
46091a798d ci: Don't download drivers from github 2020-12-10 21:39:32 +01:00
Konrad Beckmann
b230d2480d ld: dos2unix 2020-12-10 21:31:54 +01:00
Konrad Beckmann
d410a84d9f Refactor makefiles 2020-12-10 21:30:21 +01:00
Konrad Beckmann
816b68ad17 Makefile: Don't generate a huge bin file 2020-12-10 10:49:45 +01:00
Konrad Beckmann
02c0c4ec16 gb: Fix synchronization
This restores 60 solid FPS together with nice audio.
2020-12-09 20:06:12 +01:00
Konrad Beckmann
b4411f521a gb: Fix border in jth rendering 2020-12-09 19:21:47 +01:00
Konrad Beckmann
a765355c7a Update README.md 2020-12-09 19:17:47 +01:00
Thomas Roth
cc17a98f63 Increase volume 2020-12-09 19:16:12 +01:00
Thomas Roth
16d71d29a2 GB: Fix sound-glitches 2020-12-09 19:16:12 +01:00
Konrad Beckmann
8a340529b1 Remove includes 2020-12-09 17:27:31 +01:00
Konrad Beckmann
b34ad0da0e nes: Improve NN scaling 2020-12-09 17:19:26 +01:00
Konrad Beckmann
e442572843 gb: Add bilinear and jth scaling 2020-12-09 17:17:55 +01:00
viral_dna
527e463ccc Update README.md
Fixed typos.
2020-12-09 10:48:27 +01:00
Konrad Beckmann
f494daf6de Update readme 2020-12-08 22:36:18 +01:00
Konrad Beckmann
a2f7a3b718 Makefile: Program using the elf file
This removes the huge binary output file as well.

Removes the `verify` step though.
2020-12-08 14:32:33 +01:00
Thomas Roth
ed468ce56c Update README.md 2020-12-08 12:50:56 +01:00
Konrad Beckmann
83688d4f10 nes: Add RTC files to the makefile 2020-12-08 02:31:00 +01:00
Konrad Beckmann
8d77b3d354 Add profiling macros 2020-12-08 02:24:53 +01:00
Konrad Beckmann
02d052b3bf Enable RTC to allow for profiling
Uses the internal oscillator.
Can't get the external to work for some reason. PRs welcome!
2020-12-08 01:47:56 +01:00
Konrad Beckmann
bbc017aabd Add report_issue.sh 2020-12-07 23:27:33 +01:00
Konrad Beckmann
76fa9a7829 Update issue templates 2020-12-07 23:26:59 +01:00
Konrad Beckmann
8ad8d238a6 Improve readme some more 2020-12-07 23:16:21 +01:00
Konrad Beckmann
673cf8811e Improve readme 2020-12-07 23:13:30 +01:00
Konrad Beckmann
11da2a24d6 Improve readme 2020-12-07 23:04:57 +01:00
Konrad Beckmann
c64b2bb0a9 Update readme 2020-12-07 23:00:05 +01:00
Konrad Beckmann
948ff8fe63 gb: Disable DCACHE for AHBRAM (framebuffer area) 2020-12-06 18:34:31 +01:00
Konrad Beckmann
fddc3f2fb2 gb: Vsync 2020-12-06 18:05:11 +01:00
Konrad Beckmann
c45a6e64d9 Update readme 2020-12-06 17:37:43 +01:00
Konrad Beckmann
c9a300a8be gb: Support state saving to flash 2020-12-06 17:22:32 +01:00
Konrad Beckmann
094fae69a6 size: Print nicer 2020-12-06 17:04:23 +01:00
Konrad Beckmann
88d1366e13 gb: Add mute button 2020-12-06 16:07:18 +01:00
Konrad Beckmann
8bb7344101 Squash largeflash_snapshots
Squashed commit of the following:

commit 8bdab8b69ee37aeafedb8da7d13fb6c02c35cc04
Author: Konrad Beckmann <konrad.beckmann@gmail.com>
Date:   Sun Dec 6 15:11:47 2020 +0100

    Update submodule

commit eaaf1893e4dc8c6ec66039a99de057de60b5f2b5
Author: Konrad Beckmann <konrad.beckmann@gmail.com>
Date:   Sun Dec 6 15:11:38 2020 +0100

    Use HALF_QUAD_MODE

commit 069985bec8b78e3c54fda2ef632ce9d7e3e79eaf
Author: Konrad Beckmann <konrad.beckmann@gmail.com>
Date:   Sun Dec 6 15:11:27 2020 +0100

    Add missing file

commit d0bb4e89f1701097f4c8e6f81ac39561157e1ea8
Author: Thomas Roth <code@stacksmashing.net>
Date:   Sat Dec 5 13:59:18 2020 +0100

    Fix HALF_QUAD_MODE support

commit d87def7b63b297231b4b9419998d63f878cce8d6
Author: Thomas Roth <code@stacksmashing.net>
Date:   Sat Dec 5 13:42:27 2020 +0100

    Add support for different flash sizes

commit 85da98252194eaeb7344b7edd3b4655996e96344
Merge: c2be063 df701cd
Author: Konrad Beckmann <konrad.beckmann@gmail.com>
Date:   Sat Dec 5 01:06:47 2020 +0100

    Merge remote-tracking branch 'origin/main' into largeflash_snapshots

commit c2be0637a99b41dbbcdab8db96dd5a4fd9f917c1
Author: Thomas Roth <code@stacksmashing.net>
Date:   Fri Dec 4 23:07:48 2020 +0100

    Enable nearest-neighbor with -DBLIT_NEAREST

commit 4706648eb4a777431ab82ae9f16bec1535d97ae3
Author: Thomas Roth <code@stacksmashing.net>
Date:   Fri Dec 4 22:51:40 2020 +0100

    Vsync

commit 692bf35345b1eae52a2cc88510f785daf8c29ccb
Author: Thomas Roth <code@stacksmashing.net>
Date:   Fri Dec 4 22:25:26 2020 +0100

    Update retro-go-stm32

commit b3caa6dd3a946e8d0e799779130daaab15a0ae8b
Author: Thomas Roth <code@stacksmashing.net>
Date:   Fri Dec 4 20:27:27 2020 +0100

    Initial snapshot support (large flash only)
2020-12-06 15:28:42 +01:00
Konrad Beckmann
4c3318667d update submodule 2020-12-05 22:46:53 +01:00
Konrad Beckmann
160189003d gb: Adjust makefile so flash binary is correctly generated 2020-12-05 22:46:08 +01:00
Konrad Beckmann
c516f8e90b gb: Allocate framebuffer in ITCRAM 2020-12-05 22:45:31 +01:00