Commit graph

40 commits

Author SHA1 Message Date
Peter Weingartner 6bd9908531 Code Cleanup: Warnings
Cleaned up code to remove compiler warnings.
2022-04-18 21:42:23 -04:00
Peter Weingartner 730bb6b209 Adjusted logging to low-level txt device 2022-04-17 20:32:08 -04:00
Peter Weingartner b315be98b7 Channel Redirection
Added basic support for redirecting channel IDs to other channels (sys_chan_swap and sys_chan_dev).

Current flash version is not quite working... panics on running an external file.
2022-04-16 21:32:07 -04:00
Peter Weingartner 2ebd57fad4 Fixed LPT low level code
Printing is now possible!
2022-04-13 20:04:01 -04:00
Peter Weingartner c9c5bb9314 Made flashable
Updates to get a version of the kernel that can be stored in flash. The data segment is in the first 64KB and may need to be moved. Also, there is some glitching with the line editing routines.
2022-04-13 15:05:01 -04:00
Peter Weingartner 5da0ebc7a7 SYSINFO Changes
Changes to the system information record to better match the FPGA's registers and to more dynamically determine machine ID, CPU, clock speed, etc. Added clock speed to the record, and removed some fields that may not be useful.
2022-04-09 20:00:37 -04:00
Peter Weingartner 57a97aee2b Integrated new text code into kernel
Switched the console device to use the new text routine.
2022-03-09 16:56:53 -05:00
Peter Weingartner 6edf66120c Channel A refactor, Channel B partial working
Channel A code has been refactored to move macros and register definitions out to include space. Channel B is partially implemented, but an FPGA issue is blocking further work on scrolling.
2022-03-06 14:31:51 -05:00
Peter Weingartner 5cf2c1fcab TRAP fix, start of new text driver
Fixed erroneous code on 68040 trying to set TRAP #15 handler, getting new text driver layer working on A2560K channel A.
2022-03-04 15:53:20 -05:00
Peter Weingartner 96116e850a PSG silence, fsys_stat
Added a fsys_stat call. Minor change to silence the PSG noise channel on boot.
2022-02-14 15:35:42 -05:00
Peter Weingartner 3afee6d912 Update test help printing and BUILD
Added a work around for the TEST help printing code.  Added a script to auto-generate a build number.
2021-12-06 20:25:59 -05:00
Peter Weingartner 7ac621fa2a Makefile Rework
Changing build process to more easily support different models and memory targets.
2021-11-27 20:03:00 -05:00
Peter Weingartner 60c40b750f Initial port to 68040 (WIP)
Not fully working, but it's starting to boot. Interrupts and the Mo keyboard seem not to be working yet.
2021-11-27 18:49:47 -05:00
Peter Weingartner 6b8e2204f6 Merge branch 'main' into a2560k 2021-11-22 21:00:47 -05:00
Peter Weingartner 0806677048 FDC: SEEK and RECALIBRATE
SEEK and RECALIBRATE are now functional
2021-11-17 13:29:42 -05:00
Jesus Garcia 4072a345ba Added Linux Flash Target, and fixed case sensitive VECTORS section. 2021-11-17 08:30:03 -05:00
Peter Weingartner 080cef7236 SYS_TEXT_SETSIZES
Readded sys_text_setsizes call. Made some fixes to the kernel call dispatch.
2021-11-13 13:36:28 -05:00
Peter Weingartner fc9605a724 sys_get_info
Updated sys_get_info and connections to FPGA registers.
2021-11-12 16:42:24 -05:00
Peter Weingartner 10517ad6ae Hires DIP switch & UART divisors
Added code to honor the resolution DIP switch on the U. Refined the UART divisor constants to be more accurate on the U.
2021-11-10 20:57:24 -05:00
Peter Weingartner b5496b29e6 Keyboard Layouts
Added sys_kbd_layout call, translation tables for the ALT keys, and some more documentation.
2021-11-09 15:55:12 -05:00
Peter Weingartner c8c8aca1c6 Merge branch 'pr/3' 2021-11-07 14:18:56 -05:00
Peter Weingartner dede1a0b6d Re-integrating U... and bitmaps 2021-11-06 21:02:59 -04:00
Jesus Garcia 5a84dd1593 Added Linux/Mac build support 2021-11-06 11:28:34 -04:00
Peter Weingartner c15770204d A2560K LEDs and Settings
Added CAPS lock LED control for the A2560K keyboard. Also moved SETSOF and SETRTC to settings.
2021-10-27 23:27:57 -04:00
Peter Weingartner 8d2b294672 Some work on the RTC and a splashscreen (not working) 2021-10-22 19:23:05 -04:00
Peter Weingartner 48cebfb089 Initial port... 2021-10-18 21:12:40 -04:00
Peter Weingartner c72e42be52 Update to main screen and readme files 2021-10-16 15:11:23 -04:00
Peter Weingartner f94cb333f5 Started support for mouse (interrupt not working)
Added simple mouse support... interrupt is still not working for some reason.
2021-10-13 16:05:05 -04:00
Peter Weingartner a3dab23bac SYS_EXIT, RUN command
Added ability to RUN a PGX file and the SYS_EXIT call.
2021-09-30 13:39:39 -04:00
Peter Weingartner 1a3e3d79f5 Some refactoring and FSYS
Some refactoring of debug/tracing code and additions to FSYS and system information routines.
2021-09-22 16:08:09 -04:00
Peter Weingartner 52f1882a25 More syscalls and CLI beginning
Added more syscalls. Started the command line utility.
2021-09-19 19:16:41 -04:00
Peter Weingartner b172a7e086 Rudimentary Interrupts
Added first pass of interrupt handling. SOF interrupt for Channel A is working in this test.
2021-09-17 21:40:55 -04:00
Peter Weingartner ac4f09f048 Has Sound!
Added initialization code for the CODEC, PSG, and SID chips.
2021-09-17 14:27:52 -04:00
Peter Weingartner 1da613be94 Added FatFS 2021-09-14 18:23:33 -04:00
Peter Weingartner a15140f921 PS/2 and BLOCK device added
Added BLOCK device interface and PS/2 keyboard driver.
2021-09-14 15:45:30 -04:00
Peter Weingartner 1dbc50c7fe SYSCALL framework
Initial framework for system calls created.
2021-09-13 13:07:00 -04:00
Peter Weingartner 3c073aa35c Initial text driver work for VICKY III 2021-09-11 22:05:36 -04:00
Peter Weingartner ddc9c962ef Restructured directories
Switched to a more hierarchical structure, preparing for adding more code to flesh out the real kernel code.
2021-09-03 17:49:24 -04:00
Peter Weingartner 642e17b084 Simple BIOS Call Working
Simple test of a bconout BIOS call is working under Easy68K emulator.
2021-08-30 22:01:09 -04:00
Peter Weingartner 9e34fe07a6 Test of TRAP#13 2021-08-30 10:24:51 -04:00