Commit Graph

1641 Commits

Author SHA1 Message Date
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
Noelle Leigh ca54db6597 README: linkify IRC channel 2021-11-29 23:20:52 +01:00
DeltaF1 a4bed43880 Fix slowdown in draw-browser/clear
Make the clear routine only clear lines up to the screen width.
This fixes slowdown on wasted clearing of off-screen tiles.

TODO: Only clear/draw lines that will be on the screen.
2021-11-29 09:24:19 -08:00
Noelle Leigh 1574e5dcce README: Add instructions for uxnemu on Windows
When compiled under the MSYS2 environment, the executible that is
produced expects the SDL2 library to be available at runtime. When
running outside MSYS2, that may not be the case, and the emulator may
crash on startup with a message about missing SDL2.dll, or sometimes
without a message at all.

This patch adds some guidance for this scenario by guiding the reader
to download the precompiled SDL binaries for Windows and make them
available for the emulator's use.
2021-11-29 09:20:37 -08:00
neauoire 25df420607 (uxnasm) Improved errors 2021-11-29 08:48:12 -08:00
Andrew Alderwick 58eacef7d4 (life.tal) Remove debugging output. 2021-11-28 19:10:08 +00:00
Andrew Alderwick 6ba2af5c62 Avoid combining literals across | or $ pads. 2021-11-28 18:07:22 +00:00
Andrew Alderwick 9415c4e04a (asma) Correct relative offsets 2021-11-28 18:07:22 +00:00
Andrew Alderwick 1f5086a260 (asma) Combine byte literals 2021-11-28 01:30:26 +00:00
Andrew Alderwick 24e1820d12 Add RLE text import to life.tal 2021-11-28 00:04:34 +00:00
Andrew Alderwick 6996f1b4f5 Remove invalid comment syntax in darena. 2021-11-28 00:04:34 +00:00