Commit Graph

53 Commits

Author SHA1 Message Date
neauoire 28b9265042 Let us make a device page in shadow memory 2022-01-06 18:49:54 -08:00
neauoire a82f7d79f8 Defined the location of stacks in shadow memory 2022-01-06 17:29:34 -08:00
neauoire b9a37077c3 Started work on the hypervisor 2022-01-05 19:48:51 -08:00
Andrew Alderwick f48a09c482 Stop LeakSanitizer complaining about Uxn's RAM. 2022-01-05 18:18:13 +00:00
Andrew Alderwick 646d79fff5 Factor out common parts of system_dei/deo. 2022-01-05 13:29:18 +00:00
Andrew Alderwick c37831749f Split uxn_halt into beginnings of System device file. 2022-01-05 13:03:17 +00:00
Andrew Alderwick 2a825de2fd Switch void context increments from pre to post 2022-01-04 02:05:32 +00:00
Andrew Alderwick 7e3353ea72 Rename u->ram.dat to u->ram, u->ram.ptr to pc. 2022-01-04 01:40:48 +00:00
neauoire 0ee477615b Removed poke16 2022-01-03 13:23:57 -08:00
neauoire cca1253376 Use calloc for memory array 2022-01-01 15:20:48 -08:00
neauoire 13fd0d9724 Moved file APIs in device/file 2021-12-26 20:26:27 -08:00
Sigrid Solveig Haflínudóttir f75f644aff
same fixes for uxncli 2021-11-17 14:29:36 +01:00
Devine Lu Linvega dee04ff44a Renamed prepare for init 2021-11-07 10:30:56 -05:00
Andrew Alderwick a92dd9fd73 Rearranged File ports for backwards compatibility. 2021-11-06 00:51:43 +00:00
Andrew Alderwick dc3170db98 Implement File/append flag. 2021-11-05 22:48:04 +00:00
Andrew Alderwick c970e2c5ef File device: drop offset shorts, add stat and delete. 2021-11-05 21:32:45 +00:00
Andrew Alderwick 9b15f90008 Rename b0 to port in dei/deo functions 2021-11-04 17:14:15 +00:00
Andrew Alderwick 287bc67e1e Split talk functions into dei and deo; make deo functions void 2021-11-04 17:13:44 +00:00
neauoire 540fd70b9b Removed unused include 2021-10-22 16:41:23 -07:00
Andrew Alderwick e82acc875b Feed extra command line arguments to Console/vector
Each argument is followed by a newline character.
2021-10-13 22:58:27 +01:00
neauoire 266152e260 Ported devw/devr changes to uxn.c 2021-09-08 17:51:23 -07:00
Andrew Alderwick b88d2adc3d Halt when talk function returns false, since setting ram.ptr no longer works 2021-09-08 00:13:21 +01:00
neauoire 19e84072d8 Removed file_talk debugs 2021-09-04 09:11:43 -07:00
Andrew Alderwick a6b99078de Changed file_talk files to open in binary mode 2021-08-31 19:30:57 +01:00
neauoire a2e40d9d10 Removed unused device string 2021-08-29 19:52:12 -07:00
neauoire 90540742ae Standardizing fns names before merge 2021-08-29 14:41:05 -07:00
neauoire 8988f536be Simplified Inspect() 2021-08-29 13:18:42 -07:00
neauoire 2919c11cb9 Print return stack in uxncli 2021-08-29 11:53:27 -07:00
neauoire c70f16f7ac Formatted changes 2021-08-28 10:49:51 -07:00
Andrew Alderwick a92fd8fb22 Expanded File/offset to 32-bit /offset-hs and /offset-ls 2021-08-28 00:37:27 +01:00
neauoire 52d5e2d694 Single vector uxncli 2021-08-26 20:12:56 -07:00
Andrew Alderwick 72356912e7 Filtered through clang-format 2021-08-17 20:34:21 +01:00
neauoire fd907e87d6 writing nonzero to "halt" port halts the read() loop. 2021-08-17 08:57:10 -07:00
neauoire acf6dcee48 Removed unused macro in console example 2021-08-16 18:45:27 -07:00
neauoire 1704e23b4d Fixed issue with uxncli debugger 2021-08-16 07:22:53 -07:00
neauoire d111146eb6 Stack pointers can be written 2021-08-15 17:48:15 -07:00
neauoire b64570f827 Minor cleanup 2021-08-01 15:04:51 -07:00
neauoire 5d7151ab61 Cleaned up a few function names 2021-08-01 14:56:12 -07:00
neauoire 4f822f55f3 Prefixed uxn functions 2021-08-01 14:46:43 -07:00
Andrew Alderwick 6e21f3aba0 Removed stdio dependency from uxn.c
Reimplementation of patch sent in by Marc Schraffenberger
<marc@schraffenberger.com>: thank you for the rationale and inspiration!
2021-08-01 22:17:48 +01:00
neauoire 2c78f2cedf Named System device 2021-07-28 20:20:57 -07:00
neauoire b46d317b4f Added system device to uxncli 2021-07-28 15:41:07 -07:00
Andrew Alderwick 7a865f25ac Switched all output to stderr in uxncli 2021-07-17 10:00:38 +01:00
Andrew Alderwick d2627a7e46 Updated file_talk in uxncli 2021-07-17 10:00:38 +01:00
Andrew Alderwick 91fedff46d Extended Console to write to FD 2-8 (most useful for 2, stderr) 2021-07-11 17:54:30 +01:00
Sigrid Solveig Haflínudóttir 5e71c0bfc8 emu: start -> run, remove return type 2021-06-29 15:43:28 +02:00
Andrew Alderwick 7b5ad795f8 Switched from non-blocking read to thread and custom SDL event 2021-06-28 21:46:50 +01:00
neauoire 74fc816810 Flagged functions as static 2021-06-28 14:42:36 -07:00
neauoire 210be1f458 Added console changes to uxncli 2021-06-28 10:07:49 -07:00
Andrew Alderwick e309ebf6e8 Updated uxncli to match uxnemu 2021-06-28 06:46:04 +01:00