Commit Graph

2153 Commits

Author SHA1 Message Date
Andrew Alderwick 15480b238a Converted PPU to use two textures; moved padding to src/emulator.c 2021-05-19 23:17:58 +01:00
neauoire 229a0f0184 Fixed issue with ctrl/key 2021-05-19 12:23:20 -07:00
neauoire 8c1cf40cb1 Revert "ppu: keep track of modified rows and only redraw those in drawppu"
This reverts commit 3c64c8c1a4.
2021-05-19 09:13:41 -07:00
Sigrid Solveig Haflínudóttir 3c64c8c1a4 ppu: keep track of modified rows and only redraw those in drawppu 2021-05-19 12:25:18 +00:00
Sigrid Solveig Haflínudóttir b25e3e599d calculate NOTE_PERIOD based on sampling rate (thanks asie) 2021-05-19 07:30:39 +00:00
Sigrid Solveig Haflínudóttir a07f5341bf mkfile: profiling (disabled by default) 2021-05-19 07:29:23 +00:00
Sigrid Solveig Haflínudóttir 74e8a59d2f bench mode (disabled by default) 2021-05-19 07:29:00 +00:00
Sigrid Solveig Haflínudóttir ea0584a249 build.sh: make shebang compliant 2021-05-18 15:31:05 +02:00
Sigrid Solveig Haflínudóttir 3d5e1e343f call SDL_RenderSetLogicalSize to avoid manual coordinates adjustment based on zoom 2021-05-18 15:29:06 +02:00
Sigrid Solveig Haflínudóttir 5bcbb07262 update mkfile to be more in line with build.sh 2021-05-18 12:40:12 +00:00
Sigrid Solveig Haflínudóttir e31612f0af Revert "set render logical size (fixes zooming with npe)"
This reverts commit 21b78f2aed.

That broke on non-Plan 9, so first figure out why this works fine in FT2, but not in Uxn.
2021-05-18 13:39:55 +02:00
Sigrid Solveig Haflínudóttir 21b78f2aed set render logical size (fixes zooming with npe) 2021-05-18 08:18:43 +00:00
Andrew Alderwick 9a4328ccb5 Fixed printing filename after it can get overwritten 2021-05-18 07:23:23 +01:00
neauoire 556fd603f8 Add link to npe as well 2021-05-17 15:15:40 -07:00
neauoire 386b477611 Link to 9front from README 2021-05-17 15:13:46 -07:00
Sigrid Solveig Haflínudóttir 6c3e46d514 add build instructions for 9front 2021-05-17 22:07:20 +00:00
Sigrid Solveig Haflínudóttir 77bc54b0b3 fix plan 9 build 2021-05-17 21:55:13 +00:00
Andrew Alderwick 3baad0adc1 Added proportional font example 2021-05-17 07:44:50 +01:00
Andrew Alderwick 7132197ba5 Switched load/save print to state length actually loaded/saved 2021-05-16 11:00:53 +01:00
Andrew Alderwick f88df1a08d Fixed error in handling invalid source 2021-05-16 10:58:24 +01:00
Andrew Alderwick 12792d101d Added invalid source code tests to asma-test.sh 2021-05-16 10:58:00 +01:00
Andrew Alderwick 28d5284695 Added test suite for asma 2021-05-16 10:20:42 +01:00
Andrew Alderwick 46741bae23 Added documentation for Asma helper script 2021-05-16 10:20:42 +01:00
Andrew Alderwick 4d8b898142 Removed test file from previous asma version 2021-05-16 10:20:42 +01:00
Andrew Alderwick c6a776cbe5 Enlarged load and save buffers 2021-05-16 10:20:42 +01:00
Andrew Alderwick ac646d1c3d Added printout of heap usage 2021-05-16 10:20:42 +01:00
Andrew Alderwick fa91704ef9 Prevented infinite loop when asma's output is empty 2021-05-16 10:20:42 +01:00
neauoire 3b9519d945 Created within-rect routine 2021-05-15 21:35:01 -07:00
Andrew Alderwick 0d20b4309a Added documentation and automatic execution of assembled source 2021-05-15 21:50:59 +01:00
neauoire e289b359d8 Ported automata 2021-05-15 13:09:11 -07:00
Andrew Alderwick 63081b64cd Implemented writing to output file 2021-05-15 21:02:33 +01:00
Andrew Alderwick 1f80b2907b Added public interface to asma 2021-05-15 19:58:50 +01:00
Andrew Alderwick e27bde2879 Stopped using relative offsets in sublabels 2021-05-15 19:06:15 +01:00
Andrew Alderwick 300f3dfa75 Don't preseed devices in label tree. 2021-05-15 18:25:06 +01:00
Andrew Alderwick 8bf9aa78da Progress on asma 2021-05-15 18:08:08 +01:00
Andrew Alderwick 72dd7d5a87 Optimized some MOD operations 2021-05-15 09:44:20 +01:00
Andrew Alderwick e442342664 Dealt with source files that don't end with whitespace 2021-05-14 23:02:41 +01:00
Andrew Alderwick ac91aea27b Implemented address changes and rewind detection 2021-05-14 21:22:55 +01:00
Andrew Alderwick 0367110b80 Added message types for logging or supression 2021-05-14 21:21:46 +01:00
Andrew Alderwick b2b5932a5a Added dump of asma's labels after run 2021-05-14 08:25:11 +01:00
Andrew Alderwick 696958a413 Added keep mode optimizations to asma 2021-05-13 22:51:36 +01:00
neauoire 8845a326d8 Fixed hello world 2021-05-13 08:47:18 -07:00
Andrew Alderwick bceed46348 Optimised #0000 NEQ2 when used with JCN 2021-05-13 07:36:24 +01:00
Andrew Alderwick f407f1b426 Optimized out #00 NEQ when used with JCN 2021-05-13 09:02:32 +01:00
Andrew Alderwick 3109ca3bdd Added keep mode parsing to asma 2021-05-13 08:02:15 +01:00
Andrew Alderwick be9ae6ea1b Imported new opcode names to asma 2021-05-13 08:02:15 +01:00
Andrew Alderwick d56d900876 Reordered variable names on opcodes 2021-05-13 08:02:15 +01:00
neauoire a4c8066043 Cleaned example files 2021-05-12 18:28:45 -07:00
Andrew Alderwick 76a38e3db9 Reworked pop8 and pop16 so they do not need offsets 2021-05-12 20:36:18 +01:00
neauoire 9164b7f9fe Reverted patch to sft16 2021-05-12 12:13:28 -07:00