Commit graph

387 commits

Author SHA1 Message Date
Vincent Barrilliot 2eee4f8b83 python3 is called just 'python' on Windows 2023-12-07 21:06:31 +01:00
Vincent Barrilliot 08a61ca3b5 Account for backslash as path separator on Windows 2023-12-07 20:39:53 +01:00
vinz6751 8001fded95 Increase KERNEL size. Otherwize things may be truncated and weird issues occurring. The Makefile should be improved to pick this up before truncating. Anyway, the X has plenty of flash so let's not be cheap! 2023-12-06 00:09:14 +01:00
vinz6751 4184f2c190 Improve the return states of UARTs driver installation 2023-12-05 23:59:17 +01:00
vinz6751 5af6f7cfce Make SuperIO-related functions consistent with the rest 2023-12-05 23:55:54 +01:00
vinz6751 ff8a19b0e5 Implement logging to the COM port of our choice.
Also disable __NOINLINE__ for VBCC for the A2560/GENX 68k family as it causes problems.
2023-12-05 23:55:11 +01:00
vinz6751 638852e101 Initialize earlier the SuperIO so we can have UARTs available for debug output. 2023-12-05 23:53:34 +01:00
vinz6751 96e07c24c2 Don't embed fonts again, waste of flash space 2023-12-05 21:46:40 +01:00
vinz6751 b037166361 Address compilation warnings 2023-12-04 23:02:33 +01:00
vinz6751 cac663852c Use system call to display error message 2023-12-04 22:57:53 +01:00
vinz6751 a1623a1243 Get closer to being able to compile for the A2560X 2023-12-04 22:48:13 +01:00
Vincent Barrilliot 2968f66b1d Separate the HW initialization from the OS devices, and the non-related HW initialization 2023-12-03 22:26:25 +01:00
Vincent Barrilliot ff8ad24867 Use stdint 2023-12-03 22:25:40 +01:00
Vincent Barrilliot 5ae3b996c6 fix typo in comment 2023-12-03 22:24:52 +01:00
Vincent Barrilliot d18cbd8849 Move the SuperIO stuff into its own files 2023-12-03 22:24:19 +01:00
Vincent Barrilliot 10cc43fb09 Work around problems with vsnprintf. logmsg should go away then because it's not working (I'm suspecting a problem with VBCC's vaargs).
Logging can now be enabled and doesn't crash MCP anymore.
2023-11-13 00:48:12 +01:00
Vincent Barrilliot 12be394be1 Remove unecessary include. I think we'll be able to remove the #ifs once we confirmed everything works without. 2023-11-12 21:50:26 +01:00
Vincent Barrilliot fdf1cc15e5 Reinstate boot screen for A2560U. The problem was that the txt_set_mode was not recogning the graphic mode so was not enabling it in VICKY. 2023-11-12 21:42:25 +01:00
Vincent Barrilliot b352936943 Remove all object files. 2023-11-12 18:31:45 +01:00
Vincent Barrilliot ce6f733768 Clarify a few things 2023-11-12 18:31:33 +01:00
Vincent Barrilliot 5104cb10f0 Missing ; at end of file 2023-11-12 18:30:50 +01:00
Vincent Barrilliot 6ded32fc94 Add command to test the bitmap background 2023-11-12 18:30:38 +01:00
Vincent Barrilliot 8952c193c3 Try make logging more stable 2023-11-12 18:30:11 +01:00
Vincent Barrilliot b3f6e1e89e Fix indentation 2023-11-12 13:39:41 +01:00
Vincent Barrilliot 961a42a1d1 Fix Codec initialization (add initial reset) 2023-11-12 13:32:00 +01:00
Vincent Barrilliot cc183e6509 "file" missing in Windows file length setting command. See https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-file 2023-11-12 10:59:53 +01:00
Vincent Barrilliot 7edd6efd9d Bump to version 1.3 2023-11-12 10:59:43 +01:00
Vincent Barrilliot 0ff9f4d0cb Remove indicator of Vincent's fork 2023-11-12 10:59:35 +01:00
Vincent Barrilliot 348dd44c59 Remove HAS_OPL3 feature switch, as all Foenix computer have one. Adjust delay for opl3_test. 2023-11-12 00:01:10 +01:00
Vincent Barrilliot 9875caf9da Fix issues, new tone sound for the OPL3 2023-11-11 23:54:58 +01:00
Vincent Barrilliot d1530dbbb6 Avoid warning 2023-11-11 23:54:11 +01:00
Vincent Barrilliot a3386b4e41 Avoid possible collision between our "log" function and the math function. Disabling all logging now seems to make the "backspace" bug disappear. 2023-11-11 14:46:32 +01:00
Vincent Barrilliot 924d7845ca Make build again for A2560U. The debugging code makes things crash... 2023-11-11 13:59:33 +01:00
Vincent Barrilliot 7231c82bb4 Remove debugging code 2023-11-11 13:56:45 +01:00
Vincent Barrilliot 8d00d2dd47 Add debugging code mostly to trace the crash at boot 2023-11-04 01:15:50 +01:00
Vincent Barrilliot 66d7e586b0 Remove dubious #define. That should be handled by log.h anyway. 2023-11-03 23:23:22 +01:00
Vincent Barrilliot dd91bf5566 Tidy up the logging code 2023-11-03 23:22:54 +01:00
Vincent Barrilliot b175ddb83f Tweak the RTC. It seems to not crash anymore. Doesn't mean it works though. 2023-11-03 23:20:56 +01:00
Vincent Barrilliot 2693a33046 Remove warning fpga_model should be 32 bits because A2560U doc says is 2x16 BCD numbers. 2023-11-03 22:06:13 +01:00
Vincent Barrilliot 88fc94eea7 Fix warnings with functions from C lib being redeclared 2023-11-03 21:56:35 +01:00
Vincent Barrilliot 291a1facb7 Tidy up the Makefile 2023-11-03 00:46:24 +01:00
Vincent Barrilliot 4894185541 Make compile again for the A2560U (though it panics at startup, needs troubleshooting). 2023-11-03 00:42:52 +01:00
Vincent Barrilliot ab6419af33 Ignore Calypsi's lst files. 2023-11-03 00:27:03 +01:00
Vincent Barrilliot fffa26230f Some things are doubly-defined... weird that such problem is in VBCC ? We could disable inlining with __NOINLINE__ to prevent all that...? 2023-11-03 00:26:50 +01:00
Vincent Barrilliot ad3795147a Merge Peter's stuff. Rework the Makefile so it takes care of everything.
This is work in progress.
Some stuff from Peter's C256 branch was commented and I uncommented it because I didn't want things disabled for the A2560 but they seem to cause problems with Calypsi 65816.
2023-11-03 00:25:05 +01:00
Vincent Barrilliot bc56588af5 Use correct linker file for the A2560K ram linux 2023-11-01 00:20:40 +01:00
Vincent Barrilliot c185a8f7cf Fix stupid syntax mistake preventing compilation for the A2560K 2023-11-01 00:11:50 +01:00
Vincent Barrilliot ed0354ee8e Make it clear it's my fork (should pull that from some config file so it doesn't pollute the master repo if ever merged...) 2023-11-01 00:04:39 +01:00
Vincent Barrilliot 693bb7d84f Fix copy/paste error, A2560U only has one channel 2023-11-01 00:03:50 +01:00
Vincent Barrilliot da08d70111 Merge branch 'main' of https://github.com/vinz6751/FoenixMCP 2023-10-31 23:58:56 +01:00