Commit Graph

351 Commits

Author SHA1 Message Date
Devine Lu Linvega aaab3e3e34 (uxnasm) Stop after hitting refcount limit 2024-03-06 08:50:46 -08:00
Devine Lu Linvega c95c615bbc Fixed issue with debug port 2024-03-04 09:17:55 -08:00
Devine Lu Linvega 6e7360ee71 Improved stack printing 2024-02-28 09:04:21 -08:00
Devine Lu Linvega 6b207ed328 Improved stack printing 2024-02-28 08:53:34 -08:00
Devine Lu Linvega c7d3a410ab Fixed issue with no-output 2024-02-25 17:36:33 -08:00
Devine Lu Linvega c7ef5230b4 Disallow runic labels 2024-02-25 17:21:30 -08:00
Devine Lu Linvega a55b07e1db (uxnasm) Added support for partial label jsi 2024-02-25 16:06:14 -08:00
Devine Lu Linvega b9a79eca19 (uxnasm)Passing uxntal scope requirements 2024-02-24 08:46:18 -08:00
Devine Lu Linvega cb73e63eb4 Added boot.rom 2024-02-22 15:47:44 -08:00
Devine Lu Linvega 897e0a5651 uxncli will exit if no console vector 2024-02-15 15:49:06 -08:00
Devine Lu Linvega fa4da132b9 Fixed UB in screen 2024-02-14 08:59:12 -08:00
Devine Lu Linvega 8f1766f096 (screen) Catch offscreen pixel 2024-01-21 10:01:58 -08:00
Devine Lu Linvega 2eb7c87af6 (screen) Tiny improvement to drawing pointer 2024-01-20 17:14:55 -08:00
Devine Lu Linvega b1f81dcd69 Converter twos() to a macro 2024-01-20 17:00:05 -08:00
Devine Lu Linvega 12cb8e2b1a Housekeeping 2024-01-20 16:39:27 -08:00
Devine Lu Linvega 2dff2178ed Optimized changed region code 2024-01-20 16:32:44 -08:00
Devine Lu Linvega 694edddf5d Fixed issue with mod keys 2024-01-16 17:22:07 -08:00
Devine Lu Linvega f135322b17 Fixed resize bug 2024-01-16 16:55:03 -08:00
Devine Lu Linvega 01d8856d99 Fixed issue with padding 2024-01-15 20:15:48 -08:00
Devine Lu Linvega 0ac9f19974 Switch case for fkey handler 2024-01-15 11:33:56 -08:00
Devine Lu Linvega aaa70e12eb Housekeeping 2024-01-15 11:29:37 -08:00
Devine Lu Linvega 909cc1b480 Housekeeping 2024-01-15 11:18:36 -08:00
Devine Lu Linvega 93430aebf0 Faster screen initialization 2024-01-15 10:54:58 -08:00
Devine Lu Linvega 148549bae2 Removed macro use in screen vector 2024-01-15 10:22:09 -08:00
Devine Lu Linvega f4e3dc9973 Merge display functions 2024-01-15 10:17:37 -08:00
Devine Lu Linvega 83762ded9c Use faster core 2024-01-15 10:05:45 -08:00
Devine Lu Linvega 6ff623d0ea Removed link include 2024-01-15 09:28:13 -08:00
Devine Lu Linvega cb72daf8d0 Removed link device 2024-01-15 09:26:14 -08:00
Devine Lu Linvega 71c8d44051 Faster screen drawing 2024-01-10 17:41:35 -08:00
Devine Lu Linvega e247b86471 Improved core 2024-01-10 17:26:29 -08:00
neauoire 69cc92496d (screen) Fixed issue with pixel fill 2023-11-18 10:59:40 -08:00
~d6 56a17bd878 Toggle scaling from 1-3x using the F1 key.
We reallocate a larger pixel buffer as well as a larger ximage, and
then redraw. If the dimensions have not changed we will preserve the
existing fg/bg data (since for pure rescaling those do not change
and don't need to be reinitialized).
2023-11-13 21:34:50 -08:00
neauoire 317c754c67 (Screen) Removed unused variable 2023-11-12 17:05:21 -08:00
neauoire ff63e12f2a (Screen) Pass addr to sprite 2023-11-12 17:00:21 -08:00
neauoire ee7a69c8b4 (Screen) Cached row only written when visible 2023-11-12 16:53:55 -08:00
neauoire 0536b821dc (Screen) Cache row during sprite drawing 2023-11-12 16:45:55 -08:00
neauoire a4ff15e668 Reduce redraws 2023-11-12 16:40:09 -08:00
neauoire a9bf23118c Housekeeping 2023-11-12 16:36:36 -08:00
neauoire 1706cdba04 Housekeeping 2023-11-12 15:59:15 -08:00
neauoire 8fb1c78180 Fixed issue drawing sprites 2023-11-12 12:34:02 -08:00
neauoire 9e5dbc043d Faster 1bpp drawing 2023-11-12 11:58:08 -08:00
neauoire 0123b4030e Faster 2bpp function 2023-11-12 11:49:21 -08:00
neauoire 224202e562 (Screen) Removed v value 2023-11-12 11:36:34 -08:00
neauoire 98c7036252 Taken some flags out of 2bpp tight lop 2023-11-12 11:21:47 -08:00
neauoire 7827570aec Display mirrored sprites in boundary example 2023-11-12 10:45:42 -08:00
neauoire 67faef3e56 Added test for 1bpp 2023-11-12 10:30:25 -08:00
neauoire 843bbb5195 Split 1bpp/2bpp drawing 2023-11-12 10:20:03 -08:00
neauoire f98b69827f (Screen) Only check for screen boundary in blit, once 2023-11-11 21:47:54 -08:00
neauoire e52db28299 (Screen) Fill function 2023-11-11 20:59:08 -08:00
neauoire eaa05f8d73 Removed SCALE artifacts 2023-11-11 19:59:12 -08:00
neauoire 520373d598 Housekeeping 2023-11-11 19:44:15 -08:00
neauoire 7a9bc710e6 Housekeeping 2023-11-11 09:50:19 -08:00
neauoire d98e8d43a8 (console) Added tools to spawn unix process 2023-11-11 09:17:24 -08:00
neauoire d69d1508d0 Starting console process setup 2023-11-10 09:32:34 -08:00
neauoire 59edc06ae0 (screen) redraw on resize 2023-11-09 14:46:38 -08:00
neauoire d53473175c (uxn.c) tighter switch 2023-11-09 14:25:12 -08:00
neauoire 91257363c2 (uxn.c) Simple branching value 2023-11-01 16:30:42 -07:00
neauoire 21dfea7890 (uxn.c) Cleanup 2023-11-01 12:00:34 -07:00
neauoire c29c480e92 Removed unused variable 2023-11-01 11:12:57 -07:00
neauoire 6b9717276d (uxn.c) Wrapping zp 2023-11-01 11:10:29 -07:00
neauoire 8f38d8bde2 (uxn.c) Wrap RAM 2023-11-01 10:57:12 -07:00
neauoire ea65f7da37 Removed unused extern 2023-10-31 11:49:42 -07:00
neauoire 13b3496f4e New stack printing in cli 2023-10-31 11:13:27 -07:00
neauoire 4d3974faad Redesigned the stack debugger 2023-10-31 10:59:42 -07:00
neauoire 90c3a25792 emu_deo() writes in memory 2023-10-31 09:00:02 -07:00
neauoire d439d0a45d Send zero byte and EOF on stdin 2023-09-05 16:35:10 -07:00
neauoire f63b25e118 (screen.c) Fixed missing pixel in redraw region 2023-09-02 18:47:33 -07:00
neauoire 5e720d7e4b Uxn can no longer error 2023-09-02 14:03:21 -07:00
neauoire 0fd7427d37 Only check for keep mode during SET() 2023-09-01 15:56:47 -07:00
neauoire 8530f2fa77 (screen.c) Faster DEI/DEO 2023-08-30 12:15:52 -07:00
neauoire 74c830c44c (uxn.c) Use faster core 2023-08-30 12:14:32 -07:00
neauoire c97d19da99 (uxn.c) Catch JCI underflow 2023-08-30 09:14:20 -07:00
neauoire abfeead04c Cache input in PUT2 macros 2023-08-30 08:57:41 -07:00
neauoire bd5a5cbda2 (uxn.c) Added macros for multi-write 2023-08-29 10:47:49 -07:00
neauoire 54b136bfea (uxn.c) Simpler opc form 2023-08-29 09:47:53 -07:00
neauoire 71490d712c (uxn.c) Removed needed masking for opcode lookup 2023-08-29 09:42:06 -07:00
neauoire cdb0f0e4a4 (uxn.c) Removed unnecessary negation 2023-08-25 13:06:00 -07:00
neauoire e0ad8f1c0c Fixed issue in uxn11 2023-08-25 10:19:43 -07:00
neauoire e522eeb7a5 Basic link implementation 2023-08-25 10:15:57 -07:00
neauoire 618212a0d7 Connected link device 2023-08-25 09:48:14 -07:00
neauoire 2c560686d8 Moved masks to system 2023-08-25 09:40:25 -07:00
neauoire bd976ce842 Boilerplate threads 2023-08-25 09:18:37 -07:00
neauoire 0ed2617506 Setting the stage for link device 2023-08-24 21:25:11 -07:00
neauoire b3c68a17fb Zero ram on reboot 2023-08-19 07:59:18 -07:00
neauoire 2e2f8df0e0 Added stack pointer accessors to system device 2023-08-19 07:36:26 -07:00
neauoire c6bd7f06a7 Pre-process dei/deo masks 2023-08-17 09:27:33 -07:00
neauoire b405d8c663 Removed unused ports from system deo mask 2023-08-16 20:47:09 -07:00
neauoire e1b2f8f14b Tightened screen debugger redraw 2023-08-16 14:31:40 -07:00
neauoire 68e4d82df5 Screen debugger forces a full screen redraw 2023-08-16 14:02:01 -07:00
neauoire 4690a113c4 Fixed issue with debugger 2023-08-16 13:46:36 -07:00
neauoire 8edf2da7c8 Destroy assets on emu_end 2023-08-16 13:37:17 -07:00
neauoire c09a047851 Reduce redraws 2023-08-16 13:29:15 -07:00
neauoire 867701b5dc Make screen debugger private 2023-08-16 13:22:41 -07:00
neauoire 7dac87dcba Standardized varvara boot 2023-08-16 13:10:42 -07:00
neauoire 6ebc44baeb Delay window generation to after eval 2023-08-16 13:01:50 -07:00
neauoire 1cc1bbc594 Moved game loop into emu_run 2023-08-16 12:50:46 -07:00
neauoire c1fd75a90b Fixed issue with screen changed region 2023-08-10 08:56:11 -07:00
neauoire 86c26de680 Use tnl core 2023-08-09 19:50:29 -07:00
neauoire 2ed94d4c28 (uxn.c) merged POP-POP PUSH-PUSH sequences 2023-08-08 20:07:27 -07:00
neauoire 670703f87f Merged POPxPOPx and PUSHxPUSHx 2023-08-08 17:15:08 -07:00
neauoire d25be56b5f (uxnasm.c) Fixed issue with lambda 2023-08-08 16:47:29 -07:00
neauoire c5f0dc26d3 (uxnasm.c) Added comma after date 2023-08-08 16:39:50 -07:00
neauoire 8e3676f007 Added version to uxnasm 2023-08-08 16:34:30 -07:00
neauoire 1355d7813e Version 1 2023-08-08 16:26:13 -07:00
neauoire 9fd8b1709e Added on-screen debugger 2023-08-08 10:51:12 -07:00
neauoire cb1dcd12eb Returned the simpler uxn core, connected to device masks 2023-08-07 16:28:41 -07:00
neauoire 1f662d21e6 (screen.c) Inlined sprite drawing function 2023-08-05 10:35:53 -07:00
neauoire 0446dcaaa3 (screen.c) Faster sprite drawing 2023-08-05 09:59:25 -07:00
neauoire 9737391b9f Implemented total sprite flipping in bliting 2023-08-04 11:40:24 -07:00
neauoire 14263f3a02 Updated screen device 2023-08-01 20:39:16 -07:00
neauoire 5c2c060aa3 Brought the latest changes over 2023-08-01 20:32:42 -07:00
Devine Lu Linvega b49ded302d (uxn.c) Removed z stack assignment 2023-07-22 20:58:56 -07:00
Devine Lu Linvega 7ff69378c8 uxncli: stop on EOF as there is nothing left to run (besides endless loop) 2023-07-17 20:25:28 -07:00
Devine Lu Linvega d8e78ffef0 Fixed usage 2023-06-08 09:52:11 -07:00
neauoire d5fed95ef3 Returned PADDING 2023-06-07 08:42:22 -07:00
neauoire 1892352885 More selective redraw 2023-06-05 08:55:21 -07:00
Devine Lu Linvega 5a8ee380fe Removed multiplication from SET macro in uxn core 2023-05-17 20:43:50 -07:00
Devine Lu Linvega 7377477f23 Implemented scaling 2023-05-05 17:21:46 -07:00
Devine Lu Linvega cac4e5d093 (screen) Faster implementation 2023-05-04 20:43:06 -07:00
Devine Lu Linvega f181416095 Renamed zoom for scale 2023-05-04 20:37:06 -07:00
Devine Lu Linvega 7d1c62b2cb Simplified threads implementation somewhat 2023-05-03 11:32:38 -07:00
Devine Lu Linvega 29e130ace0 Removed arguments array for friends/tasks 2023-05-03 10:26:28 -07:00
Devine Lu Linvega 1be9024704 Removed NIPk/POPk special cases once and for all(?) 2023-05-02 14:51:51 -07:00
Devine Lu Linvega 09681a54f5 Added device mask to uxncli for friend port 2023-05-02 10:25:19 -07:00
Devine Lu Linvega ae61e92585 Added special POPk/NIPk modes 2023-05-02 09:57:01 -07:00
Devine Lu Linvega e191a164ea Added multithreading port 2023-04-30 22:03:35 -07:00
Devine Lu Linvega 87a72de69e Using new core 2023-04-30 11:43:33 -07:00
Devine Lu Linvega 55178e8347 Added ZOOM support 2023-04-30 11:32:11 -07:00
Devine Lu Linvega 855b63b1ef Housekeeping 2023-04-30 10:24:14 -07:00
Devine Lu Linvega 29f057ba44 Brought changes for the console 2023-04-17 11:36:17 -07:00
Devine Lu Linvega b733d4dc5a (screen.c) Found issue with screen_fill, removed for now 2023-04-14 19:56:17 -07:00
Devine Lu Linvega da59482765 (screen.c) Less indirections 2023-04-14 10:33:51 -07:00
Devine Lu Linvega 04096fc172 Brought changes for the screen device 2023-04-13 21:58:12 -07:00
Devine Lu Linvega f4f29dea0b Fixed issue with screen fill layer 2023-04-13 09:59:23 -07:00
Devine Lu Linvega 1fb58f0f0a (screen.c) Faster drawing of pixel 2023-04-13 09:43:55 -07:00
Devine Lu Linvega 1968801862 Simplified screen device 2023-04-12 20:31:30 -07:00
Devine Lu Linvega a92e5416f9 Silenced warnings 2023-04-12 12:46:48 -07:00
Devine Lu Linvega 5b59215829 Removed mono mode 2023-04-12 12:44:49 -07:00
Devine Lu Linvega ac4ec0928a Implemented Screen/pixel fill mode 2023-04-11 15:14:32 -07:00
Devine Lu Linvega bc055f37b8 Do not share stacks 2023-04-11 09:25:31 -07:00
Devine Lu Linvega bdd6c19576 Moved emu_error to device 2023-04-10 14:32:54 -07:00
Devine Lu Linvega ed588f9190 Standardized screen device to the SDL version 2023-04-10 14:13:41 -07:00
Devine Lu Linvega adc0ccdad4 Fixed issue with DEI 2023-04-10 13:37:17 -07:00
Devine Lu Linvega 6a0b572f6d Restored old core with new DEI/DEO macros 2023-04-10 12:29:26 -07:00
Devine Lu Linvega 9a4625ba16 Ported to new core 2023-04-10 11:32:16 -07:00
Devine Lu Linvega 8260d9496f Removed POKDEV/PEKDEV macros 2023-04-10 10:53:30 -07:00
Devine Lu Linvega 7e1ac70dc2 (file) Ported to PEEK2 2023-04-10 10:50:16 -07:00
Devine Lu Linvega 1bda3b77f0 (screen) Ported screen to use PEEK2 2023-04-10 10:47:05 -07:00
Devine Lu Linvega a60a2a05d9 (mouse) Ported to POKE2 macro 2023-04-10 10:41:04 -07:00
Devine Lu Linvega 02f2769153 Cleaned up build script 2023-04-10 10:16:17 -07:00