Commit graph

310 commits

Author SHA1 Message Date
Vincent Barrilliot 08f6942dfe Update vbcc stuff from latest VBCC. The include files are copied from m68k-linux and the libraries from m68k-atari.
Without this you get weird warnings.
2023-03-24 22:53:09 +01:00
Vincent Barrilliot a3846c799a Lower log level 2023-02-13 18:25:29 +01:00
Vincent Barrilliot 2218b39210 Fix warning, lower trace level 2023-02-13 18:22:16 +01:00
Vincent Barrilliot 2781e7942f Allow running the RTC test, stop with ESC 2023-02-01 23:03:02 +01:00
Vincent Barrilliot 4bfc669dbc Make Atari joystick test for A2560U. 2023-02-01 22:56:34 +01:00
Vincent Barrilliot 627c16463b Fix P2/2 test 2023-02-01 22:05:57 +01:00
Vincent Barrilliot 93031a1303 Don't repeat the structure since cdev_register doesn't modify it (this should have been in the previous commit). 2023-02-01 21:57:32 +01:00
Vincent Barrilliot d4bc2dc1f5 Don't need to copy the structure again, because cdev_register doesn't affect it. Made that clear by adding "const" in cdev_register's declaration. 2023-02-01 21:56:54 +01:00
Vincent Barrilliot 4d2568c5db Define E_OK as 0, indicating the absence of error, so we have something to compare results with. I chose the name as it seems it was already used by ffsystem.c (although commented out) and is present in other OSes. 2023-02-01 21:54:28 +01:00
Vincent Barrilliot 441d7a0624 Revert the stack size to what it was in the beginning, ie 1K. I had changed it to 2K while trying ot troubleshoot the va_args issues (which turned out to be the trap handler messing things up). 2023-02-01 21:41:35 +01:00
Vincent Barrilliot 93f02bc99d Use "bool" type and true/false whenever appropriate, for better semantics. 2023-02-01 21:38:26 +01:00
Vincent Barrilliot e2b44f3bf0 Avoid error message on A2560U because there is "only" one screen so we can't output to CDEV_EVID 2023-02-01 21:22:56 +01:00
Vincent Barrilliot a9e0da5bd7 2 minor changes (no functional change) 2023-01-31 22:00:55 +01:00
Vincent Barrilliot 14b3e963b7 Adapt sound test commands mostly 2023-01-31 22:00:36 +01:00
Vincent Barrilliot 8b9edccbc6 Return default log level to something less verbose for normal use. 2023-01-31 21:59:22 +01:00
Vincent Barrilliot 557f391277 Cleanup startup_m68k following calling convention update 2023-01-31 01:37:03 +01:00
Vincent Barrilliot 52caf47fce More logging 2023-01-31 01:36:31 +01:00
Vincent Barrilliot 25dbadb1c0 Improve calling convention so it's more performance and doesn't mess up stack for vsprintf /stdargs 2023-01-31 01:35:05 +01:00
Vincent Barrilliot 4f8191d8ff Increasing the stack, the backspace in the CLI doesn't cause a panic anymore, but it doesn't really completely work still. 2023-01-30 17:20:06 +01:00
Vincent Barrilliot 1ddd549bf6 Improve logging to serial, add a lot of traces. Logging has a problem. Backspace doesn't work properly, boot from device crashes still. 2023-01-30 17:19:40 +01:00
Vincent Barrilliot 5dcd7dd3da Acknowledge RTC interrupt by reading the FLAGS register. The address of this register depends on the model, so inject the model as a define in the Makefile 2023-01-29 21:55:51 +01:00
Vincent Barrilliot e25a6bd58a Disable A2560U-specific code for the UART's init. The default works ok it seems. 2023-01-29 21:55:08 +01:00
Vincent Barrilliot 0a3cd98118 Fix warnings 2022-06-14 22:25:49 +02:00
Vincent Barrilliot a4079969fb Remove some debug messages, fix typo in format string 2022-06-14 22:24:08 +02:00
Vincent Barrilliot a53b21885d Remote trailing whitespace 2022-06-14 22:00:47 +02:00
Vincent Barrilliot 2205998aa4 Rearrange comments so they don't introduce white space on the command line 2022-06-14 22:00:10 +02:00
Vincent Barrilliot b784f5dd17 Address more compile warnings 2022-06-14 00:15:00 +02:00
Vincent Barrilliot 88e623ff2d Address compile warnings 2022-06-14 00:13:05 +02:00
Vincent Barrilliot 6fffde3e79 Work around FPGA problem when reading bytes from text memory (they come back inverted, ie the bytes from the word AB comes back as BA) 2022-06-13 23:19:08 +02:00
Vincent Barrilliot 528e7fbc0d Add test for copying test memory, use the #defines in cli.c so it doesn't crash, reduce default log level, remove logging of all system function calls. 2022-06-12 15:45:33 +02:00
Vincent Barrilliot 462b05d634 Adapt for A2560U, includes modification of logging so to be able to log to the COM1. 2022-06-11 22:20:44 +02:00
Vincent Barrilliot 9549b9f1b8 Fail fsys_load if filesystem error 2022-06-06 20:55:00 +02:00
Vincent Barrilliot 81bf51f78d Make A2560U's 16750 UART work 2022-06-06 20:51:40 +02:00
Vincent Barrilliot f0f9a4b62e Line up with 68040 startup 2022-06-04 13:34:48 +02:00
Vincent Barrilliot 1131efcfb8 Copy/pasted dispatched from the 68040 one 2022-06-04 13:34:26 +02:00
Vincent Barrilliot 74d1768c7c Correct typo 2022-06-04 13:33:48 +02:00
Vincent Barrilliot 72b5cd289a Make screen work 2022-06-01 20:10:45 +02:00
Vincent Barrilliot 0cb525da3b Try make FoenixMCP work again on the A2560U. Add the support for FPGA date (was missing in the K), create A2560U text driver based on the existing A2560K_a, conditionnally build stuff. 2022-05-30 23:39:53 +02:00
Vincent Barrilliot adc37b784e Merge remote-tracking branch 'original/main' into merge-220530 2022-05-30 21:14:34 +02:00
Peter Weingartner e158da0578 Bump version number 2022-05-28 18:27:27 -04:00
Peter Weingartner 66a56c2451 Update to documentation 2022-05-28 18:21:51 -04:00
Peter Weingartner 2a9685dd32 Merge branch 'main' into a2560k 2022-05-28 18:21:07 -04:00
Peter Weingartner 7771a668b9 SET/GET System Variables
SET and GET commands can now work with system variables.
2022-05-27 19:50:23 -04:00
Peter Weingartner d64583a0e4 Added: System Variables 2022-05-25 17:41:05 -04:00
Peter Weingartner 79f5bd9e66 Added TXT Border calls to syscalls
Forgot to provide system call stubs...
2022-05-22 21:54:20 -04:00
Peter Weingartner d01d8cf298 SHELL setting
Added a SHELL setting to allow for replacement of the CLI.
2022-05-22 21:31:45 -04:00
Peter Weingartner 541451fbf9 Printer Fix
Made small change to LPT driver code to make sure the first line is printed correctly.
2022-05-20 13:30:44 -04:00
Peter Weingartner dff1567153 Issue #38
Fixed a bug that was preventing commands brought back from history from being editable.
2022-05-19 21:19:07 -04:00
Peter Weingartner 5210dbaab4 Issue #37
Updated CLI so that it sets the console settings to its liking on getting control, but turns echo back on the console before giving control to a program. Also cleaned up how the COMMAND setting is handled so it should work when a program quits as well.
2022-05-19 20:47:35 -04:00
Peter Weingartner 60ba071966 COPY Mark II
Re-wrote the COPY command to work better with directories and different drives.
2022-05-19 17:41:10 -04:00