0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-12-02 10:37:52 +00:00
Commit graph

855 commits

Author SHA1 Message Date
Devine Lu Linvega
891204610a Fixed issue with screen/fill layer 2023-04-13 09:58:09 -07:00
Devine Lu Linvega
2acc7edb6f Added comment for blending LUT 2023-04-13 09:53:05 -07:00
Devine Lu Linvega
d043ce633d (screen.c) Faster drawing of pixel 2023-04-13 09:42:59 -07:00
Devine Lu Linvega
a44dbd9696 (screen.c) Merge all checks 2023-04-12 20:00:17 -07:00
Devine Lu Linvega
8aae16a9d0 (screen) Removed clamp function 2023-04-12 19:20:11 -07:00
Devine Lu Linvega
540847694e Removed screen_wipe 2023-04-12 14:35:48 -07:00
Devine Lu Linvega
be138f5952 Removed FIXED_SIZE flag 2023-04-12 12:22:17 -07:00
Devine Lu Linvega
11e9b635c8 Removed mono mode to screen 2023-04-12 11:58:32 -07:00
Lior Stern
847b3f2b56 uxnemu: Add dpad support
More info about joyhats in SDL2:
	https://wiki.libsdl.org/SDL2/SDL_JoyHatEvent
2023-04-12 11:08:48 -07:00
Devine Lu Linvega
344c5c9904 Added flip-x/flip-y to pixel fill mode 2023-04-11 11:31:36 -07:00
Devine Lu Linvega
07e8306616 (screen) Created static fill function 2023-04-11 11:11:12 -07:00
Devine Lu Linvega
24dbc7d5f8 (screen) Rename screen_clear to screen_fill 2023-04-11 10:42:32 -07:00
Devine Lu Linvega
daa421c259 (uxn.c) Cache stack pointer 2023-04-11 10:32:23 -07:00
Devine Lu Linvega
fc8400dcac (uxn.c) Formatting 2023-04-11 10:24:54 -07:00
Devine Lu Linvega
3973bc2ab8 Made the uxn stacks private again 2023-04-11 10:14:29 -07:00
Devine Lu Linvega
6f55ed496c (uxncli) Fixed issue with DateTime device mask 2023-04-08 08:53:56 -07:00
Devine Lu Linvega
eaf7d095ec (system.c) The debug port will always print the stacks, even if empty 2023-04-06 17:50:03 -07:00
Devine Lu Linvega
00ed056e51 (uxnasm) Added support for label sized pads 2023-04-04 20:02:33 -07:00
Devine Lu Linvega
3b10969f9e Fixed issue where a screen redraw might occur after it has been unset 2023-04-02 20:27:15 -07:00
Devine Lu Linvega
8b43d0d7ae Removed redundant pixel param from screen routines 2023-03-27 08:38:54 -07:00
Sigrid Solveig Haflínudóttir
8a3c86a879 core: in plan 9 C it does not wrap around, fix the crash 2023-03-20 16:29:46 +00:00
Sigrid Solveig Haflínudóttir
37afbc25fb file: sprintf → snprintf 2023-03-20 16:58:45 +01:00
Sigrid Solveig Haflínudóttir
562153d09e fix a few long-standing compilation warnings 2023-03-20 16:58:09 +01:00
Devine Lu Linvega
e386c3aeaa Fixed issue with Windows builds 2023-03-19 14:12:14 -07:00
Deadly Headshot
05fd9771ca A more elegant solution to the Windows bugs in filepaths and MinGW compilation 2023-03-19 14:11:42 -07:00
Devine Lu Linvega
7d66d81e63 Fixed issue with datetime mask 2023-03-17 21:45:03 -07:00
Devine Lu Linvega
4f9b375895 Fixed issue with device deo mask in uxnemu 2023-03-14 12:40:31 -07:00
Andrew Alderwick
c701b95541 Detect stack overflows with greater than 255 bytes. 2023-03-13 06:04:33 +00:00
Andrew Alderwick
4464b1ec56 Correct SET values for NIP. 2023-03-13 06:03:44 +00:00
Devine Lu Linvega
b68af3d173 Replaced macros in PUT2/PUSH2 2023-03-12 18:29:08 -07:00
Devine Lu Linvega
1de2cea576 Ordered the SWP writes 2023-03-12 16:15:27 -07:00
Devine Lu Linvega
3ecbfe5e03 Make use of macros in PUT/PUSH 2023-03-12 15:54:20 -07:00
Devine Lu Linvega
4e77d3d5ae Renamed PEEK16/POKE16 to PEEK2/POKE2 2023-03-12 15:25:52 -07:00
Devine Lu Linvega
43ce262a07 Moved opcodes side-by-side 2023-03-12 15:16:10 -07:00
Devine Lu Linvega
6c068b7774 Removed device page from addressable memory 2023-03-12 14:56:44 -07:00
Devine Lu Linvega
bdd071cab4 Archived old core 2023-03-12 14:49:58 -07:00
Devine Lu Linvega
13ab0e5d95 Temporarily override uxn.c with fast until I can port the devices macros 2023-03-11 23:00:32 -08:00
Sigrid Solveig Haflínudóttir
8420c81d52 system.h: no need to redefine the same macro 2023-03-12 02:39:20 +01:00
Devine Lu Linvega
75af0e3cad Removed redundant mask in SFT opcode 2023-03-08 09:25:55 -08:00
Devine Lu Linvega
c4856aabf0 Added missing ports in device mask 2023-03-07 19:48:24 -08:00
Devine Lu Linvega
77c8e82419 Moved dei/deo masks into emulators 2023-03-06 10:36:24 -08:00
Devine Lu Linvega
76be67efa0 (uxn-fast.c) Housekeeping 2023-03-06 08:40:00 -08:00
Devine Lu Linvega
d08efece3d (uxn-fast.c) Removed redundant macro 2023-03-06 08:31:08 -08:00
Devine Lu Linvega
2c20d282a8 (uxn-fast) Standardized STH opcodes 2023-03-05 11:35:53 -08:00
Devine Lu Linvega
9f4231c59a (uxn-fast) Housekeeping 2023-03-05 11:33:33 -08:00
Devine Lu Linvega
3da461e14d (uxn-fast) Housekeeping 2023-03-05 11:31:37 -08:00
Devine Lu Linvega
211c4afa2d (uxn-fast) Use macros for STH 2023-03-05 11:29:58 -08:00
Devine Lu Linvega
8ae1c191d7 (uxn-fast.c) Removed function pointers, instead use exterm 2023-03-05 10:44:23 -08:00
Devine Lu Linvega
3190cf3238 Catch overflow in lit opcodes 2023-03-05 10:02:26 -08:00
Devine Lu Linvega
268ec45780 (Screen) Use fast timer if vector short is set 2023-03-04 11:07:11 -08:00
Devine Lu Linvega
3457f665a7 Use device masks for DEI 2023-03-04 10:51:23 -08:00
Devine Lu Linvega
aeceaf75bf Removed file dei event 2023-03-03 21:04:26 -08:00
Devine Lu Linvega
9ac7f06fde (uxn-fast) Housekeeping 2023-03-03 20:47:20 -08:00
Devine Lu Linvega
4cacc0d26b Removed unused deo param 2023-03-03 20:37:43 -08: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
32539d02a9 Added file device mask 2023-03-03 11:16:24 -08:00
Devine Lu Linvega
6eac5226e1 (bunnymark) Ported to immediate opcodes 2023-03-03 11:03:38 -08:00
Devine Lu Linvega
895bfc8675 (mandelbrot.tal) Migrated to immediate opcodes 2023-03-02 20:45:19 -08:00
Devine Lu Linvega
617e3d1f41 (uxn-fast) Added overflow error 2023-03-02 19:47:24 -08:00
Devine Lu Linvega
61393d0d83 (uxn-fast) First draft 2023-03-02 16:37:14 -08:00
Devine Lu Linvega
8c4b1b0592 Use switch for console_deo 2023-03-01 12:04:05 -08:00
Devine Lu Linvega
ea0d81a9b1 (uxnasm) Fixed refs limit check 2023-03-01 11:46:44 -08:00
Devine Lu Linvega
96a19b4887 Merge branch 'main' of git.sr.ht:~rabbits/uxn 2023-03-01 11:31:10 -08:00
Devine Lu Linvega
dae025af20 Date and Screen devices DEI do no need device ptr 2023-03-01 11:28:14 -08:00
Andrew Alderwick
075747f2bd Address compiler warning about switch case falling through. 2023-03-01 19:24:18 +00:00
Andrew Alderwick
d12b948e82 Remove unitialised memory. 2023-03-01 19:23:13 +00:00
Devine Lu Linvega
abd7ab403e Removed POKDEV 2023-03-01 10:53:44 -08:00
Devine Lu Linvega
486a60b1bd Removed PEKDEV macro 2023-03-01 10:49:25 -08:00
Devine Lu Linvega
53f3c18dcf Removed GETVEC macro 2023-03-01 10:42:03 -08:00
Devine Lu Linvega
87de244d37 Replaced some macros 2023-03-01 10:35:42 -08:00
Devine Lu Linvega
18de47cc1c Fixed issue with out-of-screen painting 2023-02-28 21:54:52 -08:00
Devine Lu Linvega
85df5f2d36 (uxnasm) Fixed issue with makeref() 2023-02-28 21:47:45 -08:00
Devine Lu Linvega
bd01e71c35 Sprite wipe helper 2023-02-28 20:54:32 -08:00
Devine Lu Linvega
5709511c7e (screen.c) Do not shift a zero in 1bpp 2023-02-28 19:34:13 -08:00
Devine Lu Linvega
3818720eb2 Removed opacity lut 2023-02-28 17:00:21 -08:00
Devine Lu Linvega
91386f4832 (uxn.c) Housekeeping 2023-02-26 14:28:50 -08:00
Devine Lu Linvega
254f0031e5 (uxn.c) Housekeeping 2023-02-26 13:07:48 -08:00
Devine Lu Linvega
c6110a50d5 Removed param in PUSH() macro 2023-02-26 09:55:39 -08:00
Andrew Alderwick
f07775a9a2 (file device) Fix buffer overflow. 2023-02-17 21:39:14 +00:00
Devine Lu Linvega
60080d8fe8 (file device)Add / suffix to folder names 2023-02-17 10:08:00 -08:00
d_m
c61be654d6 Pass through more keysyms when control is pressed. 2023-02-14 18:33:51 -08:00
Devine Lu Linvega
1014229b8c (uxncli)Use System/halt as exit code 2023-02-13 09:33:57 -08:00
Sigrid Solveig Haflínudóttir
c11dcc3771 remove nonsense return 0 2023-02-07 12:08:17 +00:00
Devine Lu Linvega
9f4e85b1b3 Named arguments in system_cmd 2023-02-02 10:40:47 -08:00
Devine Lu Linvega
36a70ed605 Protect system_cmd from reading out of bounds 2023-02-02 10:20:19 -08:00
Devine Lu Linvega
33d6ef8cd2 Reversed arguments in system loader 2023-02-02 09:35:05 -08:00
Devine Lu Linvega
0dcc3b4c2e Simplified system_cmd 2023-01-31 09:49:32 -08:00
Devine Lu Linvega
e20b572c20 Moved all system memory functions into system.c 2023-01-31 09:38:06 -08:00
Andrew Alderwick
5538e539d2 Minor optimisation. 2023-01-31 17:11:54 +00:00
Andrew Alderwick
9d9d094e6a Bare minimum changes to get Windows builds running again. 2023-01-31 17:05:01 +00:00
Devine Lu Linvega
0aa4aeff41 Load rom in chunks of 64kb 2023-01-28 18:38:37 -08:00
Devine Lu Linvega
390ae8138a Extend loaded rom size 2023-01-28 15:05:24 -08:00
Devine Lu Linvega
fd84ff44d7 Initial draft for MMU 2023-01-28 14:45:31 -08:00
Devine Lu Linvega
22797644b5 Returned to simpler run function 2023-01-28 10:54:54 -08:00
Devine Lu Linvega
b894ba4c57 Fixed issue with screen vector run 2023-01-27 09:36:04 -08:00
Devine Lu Linvega
63108c178a Tighter run 2023-01-26 10:56:14 -08:00
Devine Lu Linvega
b5fa665cdb Reduce refresh requests without screen vector 2023-01-26 09:35:56 -08:00
Devine Lu Linvega
e327373950 Increased refs limit 2023-01-21 18:24:11 -08:00
Devine Lu Linvega
cfeeb85712 Catch invalid sublabels 2023-01-14 15:08:40 -08:00
Devine Lu Linvega
ffb0a9c9bc (uxnasm.c) Auto-start at 0x100 2023-01-13 10:14:20 -08:00