Commit Graph

287 Commits

Author SHA1 Message Date
Sevan Janiyan 305b8469b0 Use the correct definition to obtain snprintf(3)
At some point snprintf(3) prototype became guarded off in stdio.h.
Defining _C99_SOURCE makes it visible.
On legacy Darwin, such a guard was not present so the definition
has no impact on the build, but on "modern" macos it has the desired
effect.
Build tested on OS X 10.4 and macos 10.15.
2023-05-15 08:32:48 -07:00
Devine Lu Linvega d1dc143912 (uxnemu) Only set zoom scale once on boot 2023-04-17 09:36:55 -07:00
Devine Lu Linvega bdd071cab4 Archived old core 2023-03-12 14:49:58 -07:00
Devine Lu Linvega 8f979ec0fe Use uxn-fast in bug until the callback masks are ported 2023-03-03 12:02:42 -08:00
Devine Lu Linvega b09d5708b8 Use -O2 2023-03-02 16:56:49 -08:00
Devine Lu Linvega 61393d0d83 (uxn-fast) First draft 2023-03-02 16:37:14 -08:00
Andrew Alderwick 9d9d094e6a Bare minimum changes to get Windows builds running again. 2023-01-31 17:05:01 +00:00
Devine Lu Linvega a1bc00ce5f (uxnasm) Fixed buffer overflow in tokenizer 2023-01-07 11:59:00 -08:00
Devine Lu Linvega a450959e9f Removed extraneous j variable 2023-01-01 18:26:28 -08:00
Devine Lu Linvega 7afe1f39c7 Screen device is half ported to new device handlers 2023-01-01 13:19:40 -08:00
Devine Lu Linvega 852e33e6f3 General improvements to example files 2022-05-31 13:25:41 -07:00
neauoire 21f3a2d870 Moved some demos to /old 2022-03-14 10:21:36 -07:00
neauoire 7511f4c2ac Added --install flag to build script 2022-02-03 19:52:12 -08:00
neauoire 031f63a13c Print stack with DEO on 0x0f 2022-01-13 08:25:59 -08:00
neauoire ee4308196a Starting a debugging device 2022-01-12 21:22:33 -08:00
neauoire 459855d825 Removed supervisor 2022-01-12 18:40:51 -08:00
neauoire 38d2c7cbd7 (boot.rom) Renamed to launcher.rom 2022-01-10 20:35:34 -08:00
neauoire 19a8e56cd6 Started device port masking 2022-01-07 10:02:28 -08:00
neauoire 1a7af4d8d0 Supervisor is now watching the device page 2022-01-06 19:20:50 -08:00
Vlad-Stefan Harbuz b94c52cbbf correctly parse arguments in build.sh
Signed-off-by: Vlad-Stefan Harbuz <vlad@vladh.net>
2022-01-06 08:33:28 -08:00
neauoire 3cc2ba98f0 First hypervisor 2022-01-05 20:44:33 -08:00
Andrew Alderwick 646d79fff5 Factor out common parts of system_dei/deo. 2022-01-05 13:29:18 +00:00
Andrew Alderwick c37831749f Split uxn_halt into beginnings of System device file. 2022-01-05 13:03:17 +00:00
Andrew Alderwick 52598bdad7 Remove uxn-fast.c since new reference core is almost as fast. 2022-01-02 23:05:28 +00:00
neauoire c3506869b5 Renamed Apu to Audio 2021-12-28 13:47:35 -08:00
neauoire 7b33cf3d95 Renamed PPU to Screen 2021-12-28 13:37:26 -08:00
neauoire fe75479fae Moved controller device to devices/controller.c 2021-12-27 09:24:43 -08:00
Sigrid Solveig Haflínudóttir a8944f36ec remove aarch64-specific logic, it has been moved to its own branch, "aarch64" 2021-12-27 13:38:44 +01:00
neauoire 89c07988ac Moved mouse to devices/ 2021-12-26 21:02:24 -08:00
Andrew Alderwick 0523bcc06d Remove unsupported weak pragma for Windows builds. 2021-12-26 23:07:39 +00:00
Sigrid Solveig Haflínudóttir 9b220a72d8 build script: arch-specific files: move to EXTRA and only link with uxnemu 2021-12-26 08:53:52 +01:00
Sigrid Solveig Haflínudóttir 380b9575e9 build script: include cpu arch-specific files, if any 2021-12-26 07:31:19 +01:00
Andrew Alderwick 972d2a494b Add --console switch to build with Console support on Windows. 2021-12-19 11:43:38 +00:00
Andrew Alderwick d2cf7213d0 Fix detection of Windows in build script.
Thanks go to Noelle Leigh <noelle_leigh@fastmail.com> for the initial
report and much help during diagnosis!
2021-12-13 23:46:53 +00:00
Andrew Alderwick 68abbc2ed8 Detect homebrew directory on macOS build.
With thanks to Elijah Cohen <eli@eli173.com> for identifying build
problems on M1 Macs.
2021-12-12 20:35:09 +00:00
Sigrid Solveig Haflínudóttir 60698c787a
build: allow custom CFLAGS to be set 2021-11-17 14:12:48 +01:00
Sigrid Solveig Haflínudóttir 428a1da50e
build.sh: use $CC (default value is still "cc") 2021-11-08 18:31:08 +01:00
Devine Lu Linvega e9f0585e0b Start emulator from bin 2021-11-08 12:19:45 -05:00
Devine Lu Linvega 737a87ac3f Building boot on start 2021-11-08 11:21:23 -05:00
Devine Lu Linvega 85322b92ce Progress toward boot.rom setup 2021-11-08 10:51:09 -05:00
Andrew Alderwick c970e2c5ef File device: drop offset shorts, add stat and delete. 2021-11-05 21:32:45 +00:00
Andrew Alderwick 01bdd950aa Added --no-run switch for automated builds
This saves having to run sed to edit the build script, and stops
piano.rom (and piano.log) from being bundled with the binary outputs.
2021-10-14 23:38:38 +01:00
Andrew Alderwick 317d71654e Pass output file argument to asma too 2021-10-13 22:58:27 +01:00
Andrew Alderwick 9aed17b977 Bundled SDL2 on macOS builds 2021-10-10 20:07:40 +01:00
neauoire d6519a46d2 Assemble piano with asma 2021-10-07 18:28:06 -07:00
neauoire 41e18c16b1 Made clang-format non necessary 2021-08-27 11:00:34 -07:00
Andrew Alderwick 969c2e3516 Tidied installation commands 2021-08-19 06:08:09 +01:00
Andrew Alderwick d32d869abf Remove bashism in build.sh 2021-08-19 06:05:04 +01:00
neauoire fffbf28805 Modified shebang in build.sh 2021-08-18 16:23:15 -07:00
neauoire ddac370775 Improvement of examples 2021-08-17 19:17:47 -07:00