Commit graph

356 commits

Author SHA1 Message Date
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
Vincent Barrilliot b9abbda074 Add alternative font for the logger. We should really pick one or the other because it's wasting flash space 2023-10-31 23:58:05 +01:00
Vincent Barrilliot 3563bcf539 Tighten up logging stuff 2023-10-31 23:56:57 +01:00
Vincent Barrilliot 67a6db6648 Update VBCC (files from the 29-Jul-2022 version) 2023-10-31 23:51:15 +01:00
Vincent Barrilliot ac46f77ab4 Merge in changes from Stefany. In particular, the SuperIO now has initializations done in software, were they were previously done in the FPGA. There is a new load coming out today to cater for this.
See init_SuperIO_config_zones
2023-10-31 23:49:51 +01:00
Vincent Barrilliot 954dae8ced For the K/X, allow logging to channel A (text screen) without going through the console stuff. This is so we can start logging earlier, and also use that for debugging the console stuff itself. 2023-05-29 14:41:13 +02:00
Vincent Barrilliot 6e8b1e1e17 Decrease log level for console stuff 2023-05-29 14:40:16 +02:00
Vincent Barrilliot 01eef127a0 Fix typo 2023-05-29 13:57:06 +02:00
Vincent Barrilliot 015f23a038 Remove mapfile from repo. Since we can build for different targets now it doesn't make sense to include it anymore. 2023-04-16 16:37:33 +02:00
Vincent Barrilliot b5dc2a5bef Don't log screen interactions by default. 2023-04-16 16:11:20 +02:00
Vincent Barrilliot e84eeaec39 Log on first UART by default. Long only errors by default 2023-04-16 16:10:46 +02:00
Vincent Barrilliot 0628f7ce5d Fix missing "MODEL ==" 2023-04-16 15:17:10 +02:00
Vincent Barrilliot 542d95e194 Fix defines name so to fix colour scheme. 2023-04-16 15:04:24 +02:00
Vincent Barrilliot 03c8414d68 Missing VBCC config files for A2560x 2023-03-31 23:24:35 +02:00
Vincent Barrilliot 30a2164427 Add padding of flash images. 2023-03-31 23:22:21 +02:00
Vincent Barrilliot b0927f19c9 Fix SDC addresses (info given by Stefany). SDC card now works on A2560K. 2023-03-31 23:11:06 +02:00
Vincent Barrilliot b11619b073 Merge branch 'main' into a2560k 2023-03-24 22:55:44 +01:00
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 822800c28a Prepare for troubleshooting 2023-03-24 20:38:30 +01:00
Vincent Barrilliot 48df968b98 Struggle to make things work. They dont. 2023-03-12 21:16:20 +01:00
Vincent Barrilliot 5b65d88d1b U doesn't have a controllable power indicator. 2023-03-12 17:36:13 +01:00
Vincent Barrilliot bb4e8ea41a Typo 2023-03-12 16:57:59 +01:00
Vincent Barrilliot 0ad061efe2 Include features.h for convenience for everything already includes sys_general.h 2023-03-03 01:48:14 +01:00
Vincent Barrilliot d79840a074 Simplify initialization 2023-03-03 01:47:23 +01:00
Vincent Barrilliot 600adcf406 Small improvement of using the compilation switches 2023-02-26 21:17:06 +01:00
Vincent Barrilliot e0c9e7d7c0 Typo, we should set channel b from this file, not channel a. 2023-02-26 18:42:52 +01:00
Vincent Barrilliot 9459d89702 Simplify screen initialization. Seemed to fix a bug during startup which I didn't understand. 2023-02-26 18:31:39 +01:00
Vincent Barrilliot 264df08499 Don't put in Mau interrupt handler if not on a A2560K 2023-02-26 18:30:10 +01:00
Vincent Barrilliot 8a99341723 Work in progress, trying to merge Stefany's A2560X code in . At the moment it's crashing when calling ___main from startup_m68040.s. 2023-02-26 14:04:43 +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