neauoire
4d7ce3e893
Made a console_listen function
2023-08-15 16:24:40 -07:00
neauoire
8d4074b372
Removed console queue from emu_start
2023-08-15 16:11:21 -07:00
neauoire
c0d45d1440
Try loading rom during system init
2023-08-15 16:06:29 -07:00
neauoire
9a7a11003f
System device handles boot
2023-08-15 15:59:32 -07:00
neauoire
a77434a671
Reset device page on soft reboot
2023-08-13 21:11:18 -07:00
neauoire
de7b24e820
Added soft reboot
2023-08-13 18:48:32 -07:00
neauoire
a394dcb999
Updated date
2023-08-10 08:50:14 -07:00
neauoire
23203381a7
(uxn.c) Aligned macros
2023-08-09 16:18:35 -07:00
neauoire
2e25f6c27e
Added version flag to uxnemu
2023-08-08 15:56:40 -07:00
neauoire
2e1b56018b
Added per-device versions
2023-08-08 14:44:17 -07:00
neauoire
97d299261f
Setting up stage to add versioning
2023-08-08 14:13:07 -07:00
neauoire
7090ab72b9
Returned the on-screen debugger
2023-08-08 10:27:41 -07:00
Sigrid Solveig Haflínudóttir
a87ececb71
remove SDL_RENDERER_TARGETTEXTURE (unused)
2023-08-08 02:49:02 +02:00
Derek Stevens
ffc604fba3
run: set window title from rom
...
Signed-off-by: Derek Stevens <nilix@nilfm.cc>
2023-08-04 11:47:37 -07:00
Devine Lu Linvega
0efea06b46
Only update viewport rect on resize
2023-07-26 08:37:58 -07:00
Devine Lu Linvega
289d13aeb4
Returned emulator border
2023-07-25 21:43:26 -07:00
Devine Lu Linvega
12509b7e6b
Merged show() and gameloop()
2023-07-25 14:56:26 -07:00
Devine Lu Linvega
db2117ee0a
Resize emulator on start
2023-07-25 14:46:37 -07:00
Devine Lu Linvega
4286e0ba53
Grouped emulator routines together in uxnemu
2023-07-25 14:42:10 -07:00
Devine Lu Linvega
969f03e0ba
Uxnemu skips resizing window until reset vector is done.
2023-07-25 14:30:51 -07:00
Devine Lu Linvega
dcb434760b
Housekeeping
2023-07-24 09:48:49 -07:00
Devine Lu Linvega
867883409e
Emulator functions prefixed with emu_ instead of uxn_
2023-07-23 19:18:11 -07:00
Devine Lu Linvega
ec973c2ea6
Only set emu size on screen resize, no constant checks
2023-07-23 16:24:09 -07:00
Devine Lu Linvega
29e664c6b8
Do not re-set window size when unchanged
2023-07-23 16:10:48 -07:00
Devine Lu Linvega
92e06e2eda
Removed window padding
2023-07-22 19:52:17 -07:00
Sigrid Solveig Haflínudóttir
51d43a6989
screen: don't leak memory and don't crash if failed to adjust for new screen size
2023-07-17 00:50:19 +02:00
Sigrid Solveig Haflínudóttir
784467564c
uxnemu: fix two warnings on 9front build
2023-07-10 15:37:42 +00:00
Sigrid Solveig Haflínudóttir
05356e23b1
capture_screen: check for errors
2023-07-10 15:35:35 +00:00
Devine Lu Linvega
ff6d9e39ca
(uxnemu) Fixes issue where non-zero console/type occurs even when empty, fixed by hikari_no_yume
2023-06-29 14:23:16 -07:00
Devine Lu Linvega
e930804c4b
Do not print message on quit
2023-06-09 09:29:25 -07:00
Devine Lu Linvega
fe10cfecef
Improved usage standard message
2023-06-08 09:47:18 -07:00
neauoire
5dd7fec729
Removed clear between redraws and moved to set_window_size
2023-06-07 08:23:42 -07:00
neauoire
e147b46b55
Snake_cased some SDL variables
2023-06-07 08:03:28 -07:00
Sevan Janiyan
b5b3177c68
Switch to using SDL_CreateRGBSurface() SDL_CreateRGBSurfaceWithFormat() was introduced in SDL 2.0.5 whereas SDL_CreateRGBSurface() is available since SDL 2.0. This allows uxn to run on legacy systems where it's not possible to reach SDL 2.0.5 but prior versions are, such as Mac OS X Tiger.
2023-05-14 19:34:55 -07:00
Sevan Janiyan
822a7fea54
Use the audio format native to host AUDIO_S16 defaults to little endian format which causes issues when running on big endian systems. Use AUDIO_S16SYS instead which sets to whatever endian the system uxn is being built on is.
2023-05-14 19:34:55 -07:00
~d6
310ba97ef6
Improve screen vector timing somewhat.
...
This patch tries to improve the accuracy of our
screen refresh timing. Notably, it tries to ensure
we don't introduce extra delay in our timing based
on how long the screen vector takes to evaluate.
We also try to ensure we only call SDL_Delay when
we have at least 1ms to wait.
2023-05-09 13:12:23 -07:00
Devine Lu Linvega
98bd2a7849
(screen) Use uxn_screen global
2023-05-04 17:43:44 -07:00
Devine Lu Linvega
8f98281d89
(screen) Only repaint changed pixels
2023-05-04 11:15:16 -07:00
Sigrid Solveig Haflínudóttir
c7f3014fe9
zoom: ignore if 0, ie if the screen is somehow TOO small to do any scaling
2023-05-02 22:53:07 +00:00
Devine Lu Linvega
83ba7e05ea
Added mock behavior for the friend port
2023-05-02 10:31:33 -07:00
Devine Lu Linvega
ce0cc5a352
Do not center on resize
2023-04-26 12:04:44 -07:00
Devine Lu Linvega
ebf31ecb03
(uxnemu) Removed debug line
2023-04-22 14:57:26 -07:00
Devine Lu Linvega
40d6c889bc
Set Console/type after memory is initialized
2023-04-22 14:56:12 -07:00
Devine Lu Linvega
3038d5c40b
(console) Use 0x00 for no-queue
2023-04-17 11:27:54 -07:00
Devine Lu Linvega
d8bee29626
(console) Use 0x1 for no-args
2023-04-17 11:19:37 -07:00
Devine Lu Linvega
98282cb1a6
Moved error printing to system.c
2023-04-17 11:03:11 -07:00
Devine Lu Linvega
9a882a64c7
(uxnemu) Write arguments end in console device
2023-04-17 10:41:03 -07:00
Devine Lu Linvega
1bf0ffc5e5
(uxnemu) Display usage when no roms and no params
2023-04-17 10:29:39 -07:00
Devine Lu Linvega
453f491918
(uxnemu) Display new zoom values in usage
2023-04-17 09:59:00 -07:00
Devine Lu Linvega
72e23f0260
(uxnemu) Simplified boot sequence
2023-04-17 09:48:27 -07:00