Commit Graph

1701 Commits

Author SHA1 Message Date
Sigrid Solveig Haflínudóttir 831014e811 ppu_redraw: use the same optimization that one-layer logic had 2021-12-25 15:57:43 +01:00
Sigrid Solveig Haflínudóttir c2829ce5fe ppu: remove the last(?) remnants of single layer logic 2021-12-25 15:12:30 +01:00
Sigrid Solveig Haflínudóttir f49143782a ppu_resize: don't leak if one layer failed to resize 2021-12-25 15:05:33 +01:00
Sigrid Solveig Haflínudóttir ef2b2e881b ppu header: remove unused macros 2021-12-25 14:48:05 +01:00
Sigrid Solveig Haflínudóttir 927fdb497f ppu: unite 1bpp and 2bpp into one - ppu_blit 2021-12-25 13:50:34 +01:00
Sigrid Solveig Haflínudóttir b2bb585e1d ppu: clear should only mark one layer as changed 2021-12-24 23:27:41 +01:00
Sigrid Solveig Haflínudóttir db957f4dbb ppu: resize already calls clear, no need for repetition 2021-12-24 23:27:07 +01:00
neauoire 8a25a5e387 Renamed layer.p to layer.pixels 2021-12-24 12:01:10 -08:00
Sigrid Solveig Haflínudóttir f79b092e71 ppu: separate reqdraw for fg and bg 2021-12-24 20:45:31 +01:00
neauoire 0a040824b7 Optimized ppu_redraw 2021-12-24 10:10:55 -08:00
neauoire cc6f2c8b29 Inlined ppu_read 2021-12-24 10:02:23 -08:00
neauoire 3fb4d40eb0 Split pixels into fg/bg 2021-12-24 09:59:18 -08:00
neauoire 250e338d07 Redraw is now part of the PPU 2021-12-24 09:46:21 -08:00
neauoire 0794070adf Palette is now part of the PPU 2021-12-24 09:39:51 -08:00
neauoire 668eab05bf (ppu) Minor optimisation 2021-12-24 09:29:26 -08:00
neauoire 5af50c7ca0 (terminal.tal) Created a basic terminal example 2021-12-20 11:16:09 -08:00
neauoire 4d2b55c188 Removed stdio from ppu 2021-12-20 09:45:56 -08:00
neauoire 5ebeaf6852 Using ppu_clear on resize 2021-12-20 09:42:29 -08:00
neauoire 6c64678829 Merge branch 'main' of git.sr.ht:~rabbits/uxn 2021-12-19 12:20:21 -08:00
neauoire c4d9e52fd6 (uxnemu) Clear debugger on toggle 2021-12-19 12:20:13 -08:00
Sigrid Solveig Haflínudóttir 1e224079ed emu: when both key down and key up are generated on the same frame, skip the up until the next one 2021-12-19 20:40:20 +01:00
Andrew Alderwick 972d2a494b Add --console switch to build with Console support on Windows. 2021-12-19 11:43:38 +00:00
neauoire 256e597e48 Merge branch 'main' of git.sr.ht:~rabbits/uxn 2021-12-16 10:48:21 -08:00
neauoire ca1d830055 (font.tal) Migrated to AUTO-Y-ADDR 2021-12-16 10:46:27 -08:00
Sigrid Solveig Haflínudóttir 73c1ecccc0 emu: handle files dropped by loading it as a ROM 2021-12-16 17:29:09 +01:00
Sigrid Solveig Haflínudóttir 2cf6da4a55 emu: use "Back" on android to restart the rom for now 2021-12-16 01:05:59 +01:00
Sigrid Solveig Haflínudóttir 2dc3680bcf emu: don't call exit(0), return 0 is enough 2021-12-16 00:49:58 +01:00
Sigrid Solveig Haflínudóttir 9bc6a83873 emu/load: use RWops - it's more portable and allows loading roms from assets of an apk on Android 2021-12-15 23:54:44 +01:00
Andrew Alderwick 62f740416d Remove redundant declaration. 2021-12-14 23:17:32 +00:00
Andrew Alderwick 2330320985 (readability) Use preincrements throughout in void context. 2021-12-14 23:17:32 +00:00
Noelle Leigh 96c11198da README: remove unnecessary Windows instructions
Thanks to d2cf7213, this paragraph no longer applies.

Now, all MSYS2 builds should have SDL2 statically linked.
2021-12-14 13:22:59 -08:00
neauoire d3b435c646 (ako1010) Painted missing pixels 2021-12-14 11:23:57 -08: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
Noelle Leigh 0244f89d7e README: Add Contributing section 2021-12-13 14:48:01 -08: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
neauoire 74ab9c85ab (blank.tal) Fixed non-compilation error 2021-12-11 14:31:14 -08:00
neauoire 63c589490c (blank.tal) Cleaned up 2021-12-11 14:28:10 -08:00
neauoire 6e810a080d (subleq.tal) Added new exercise 2021-12-11 10:47:14 -08:00
Andrew Alderwick 9970b65094 Renamed and signed 100r demo. 2021-12-11 16:32:12 +00:00
Andrew Alderwick 19095def48 Add 100r animated logo demo. 2021-12-11 16:28:23 +00:00
neauoire f1437c993a Removed picture.tal 2021-12-09 14:10:24 -08:00
Sigrid Solveig Haflínudóttir 758710773e plan 9: exclude assets from the build 2021-12-09 22:52:34 +01:00
neauoire 1b362b4fcd (dungeon.tal) Starting a little dungeon exploration demo 2021-12-07 18:07:09 -08:00
neauoire bae2d37fc2 (uxnasm) Only catch hex labels with slen of 2 or 4 2021-12-06 09:01:48 -08:00
neauoire b7ea0b7868 Added Rule-110 2021-12-04 11:02:14 -08:00
Andrew Alderwick 113220b10d Deprecate file-read-chunks by incorporating it inside asma. 2021-12-01 22:01:36 +00:00
Andrew Alderwick 60f04ca053 (uxnasm) Add error for relative references that are too far. 2021-12-01 11:42:44 +00:00
neauoire da797b33c6 (uxnasm) Stop on resolve failure 2021-11-30 10:27:35 -08:00
neauoire 074a049ff2 (uxnasm) Renamed conflicting function 2021-11-29 16:19:47 -08:00
Sigrid Haflínudóttir 34f75968c7 readme: add void linux sdl2 install example; /bin → ./bin 2021-11-29 23:27:23 +01:00