Alan Cox [Wed, 11 Jul 2018 23:30:27 +0000 (00:30 +0100)]
syscall_exec16: note a cunning (but probably not very good) plan
Alan Cox [Wed, 11 Jul 2018 23:29:47 +0000 (00:29 +0100)]
trs80: update README
Alan Cox [Wed, 11 Jul 2018 23:29:25 +0000 (00:29 +0100)]
filesys: Fix build with external buffers
Alan Cox [Wed, 11 Jul 2018 22:22:12 +0000 (23:22 +0100)]
setdate: fix year in BCD mode
Alan Cox [Wed, 11 Jul 2018 22:21:40 +0000 (23:21 +0100)]
trs80m1: add clock code but ifdef it back out due to an SDCC bug
Filed as #2770 in SDCC bug tracker
EtchedPixels [Wed, 11 Jul 2018 16:34:01 +0000 (17:34 +0100)]
Merge pull request #640 from beretta42/ed
6809: compile ed in V7
Alan Cox [Wed, 11 Jul 2018 12:54:33 +0000 (13:54 +0100)]
trs80m1: devgfx, update comments
Alan Cox [Wed, 11 Jul 2018 12:53:59 +0000 (13:53 +0100)]
trs80m1: update README
Alan Cox [Wed, 11 Jul 2018 12:53:34 +0000 (13:53 +0100)]
netd: first cut at 68K build
Alan Cox [Wed, 11 Jul 2018 12:52:44 +0000 (13:52 +0100)]
Merge remote-tracking branch 'refs/remotes/origin/master'
Alan Cox [Wed, 11 Jul 2018 12:47:59 +0000 (13:47 +0100)]
trs80: Booting and banking work
1. Get rid of BANK94, make the new bank code the default as it works fine
without a 3rd party bank card
2. Generate "proper" TRS80 disk images. Our boot disk was 40 track DSSD
with sectors numbered from 0. A normal TRS80 disk numbers from 1.
3. Turn on disk skewing so the media layout is a bit more optimal
Brett Gordon [Wed, 11 Jul 2018 01:36:20 +0000 (21:36 -0400)]
6809: compile ed in V7
EtchedPixels [Tue, 10 Jul 2018 20:34:15 +0000 (21:34 +0100)]
Merge pull request #639 from piso77/v68_fixes
Resurrect the v68-banked target
Paolo Pisati [Tue, 10 Jul 2018 17:37:53 +0000 (19:37 +0200)]
travis: hook v68-banked
Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
Paolo Pisati [Tue, 10 Jul 2018 17:36:54 +0000 (19:36 +0200)]
v68-banked: config.h: devices.c invoke devide_init(), add CONFIG_IDE to fix build
Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
Paolo Pisati [Tue, 10 Jul 2018 17:29:37 +0000 (17:29 +0000)]
v68-banked: import missing fuzix.ld from v68
Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
EtchedPixels [Tue, 10 Jul 2018 10:23:04 +0000 (11:23 +0100)]
Merge pull request #638 from piso77/v68_fixes
Resurrect the m68k arch, and hook v68 to Travis
Paolo Pisati [Tue, 10 Jul 2018 06:15:00 +0000 (08:15 +0200)]
travis: hook v68 to the build
Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
Paolo Pisati [Tue, 10 Jul 2018 07:18:32 +0000 (07:18 +0000)]
ue: 68000: fix compilation
Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
Paolo Pisati [Tue, 10 Jul 2018 07:17:12 +0000 (07:17 +0000)]
ue: 68000: try to workaround a weird dependecy/invokation problem...
Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
Paolo Pisati [Tue, 10 Jul 2018 06:58:50 +0000 (06:58 +0000)]
netd: 68000: dummy Makefile
Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
Paolo Pisati [Tue, 10 Jul 2018 06:41:41 +0000 (06:41 +0000)]
cursesgames: 68000: fix compilation
Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
Paolo Pisati [Sat, 7 Jul 2018 23:02:45 +0000 (23:02 +0000)]
crt0: 68000: fix compilation
Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
Paolo Pisati [Tue, 10 Jul 2018 06:13:51 +0000 (08:13 +0200)]
travis: setup v68 toolchain
Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
Paolo Pisati [Tue, 10 Jul 2018 05:46:35 +0000 (07:46 +0200)]
travis: don't pollute targets with foreign tool/chain
Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
Alan Cox [Sun, 8 Jul 2018 23:10:32 +0000 (00:10 +0100)]
trs80: remove flags for gfx ops we deleted
Alan Cox [Sun, 8 Jul 2018 23:08:35 +0000 (00:08 +0100)]
trs80m1: correct some graphics reporting
Alan Cox [Sun, 8 Jul 2018 16:56:58 +0000 (17:56 +0100)]
trs80m1: Update the documentation
It's getting complicated
Alan Cox [Sun, 8 Jul 2018 15:39:19 +0000 (16:39 +0100)]
trs80m1: new prototype for genie serial
Alan Cox [Sun, 8 Jul 2018 15:39:05 +0000 (16:39 +0100)]
trs80.h: update Genie comment
Alan Cox [Sun, 8 Jul 2018 15:38:38 +0000 (16:38 +0100)]
trs80: comment/typo fix boot code
Alan Cox [Sun, 8 Jul 2018 15:36:41 +0000 (16:36 +0100)]
trs80m1: Fix up the Video Genie handling for serial use halt on Model III
The model III has a real interrupt driven serial port, so we can just halt
on it.
Alan Cox [Sun, 8 Jul 2018 15:36:20 +0000 (16:36 +0100)]
trs80m1: report proper resolution for the Lowe LE-18
Alan Cox [Sun, 8 Jul 2018 15:01:27 +0000 (16:01 +0100)]
trs80m1: add initial bits for the Lowe Electronics LE18
Alan Cox [Sun, 8 Jul 2018 15:01:13 +0000 (16:01 +0100)]
graphics.h: add LOWE_LE18
Alan Cox [Sun, 8 Jul 2018 14:04:38 +0000 (15:04 +0100)]
trs80m1: turn on keyboard bit map access
I forgot this earlier, but we also need it so you can set the keyboard map
for things like German TRS80 Model III
Alan Cox [Sun, 8 Jul 2018 00:57:17 +0000 (01:57 +0100)]
trs80m1: update VG
Alan Cox [Sun, 8 Jul 2018 00:12:50 +0000 (01:12 +0100)]
trs80m1: update status
Alan Cox [Sun, 8 Jul 2018 00:11:50 +0000 (01:11 +0100)]
trs80m1: note we need to make outchar for debugging other trs80 types
Alan Cox [Sun, 8 Jul 2018 00:11:35 +0000 (01:11 +0100)]
trs80m1: notes on serial port
Alan Cox [Sun, 8 Jul 2018 00:10:47 +0000 (01:10 +0100)]
timer: permit runtime decisions that we have no rtc to lock onto
Alan Cox [Sat, 7 Jul 2018 21:45:24 +0000 (22:45 +0100)]
trs80m1: boot loader now also handles selector
It's a bit tight but it fits. The code really wants a clean up and a squash
Alan Cox [Sat, 7 Jul 2018 19:30:03 +0000 (20:30 +0100)]
trs80m1: update status
Alan Cox [Sat, 7 Jul 2018 19:27:24 +0000 (20:27 +0100)]
trs80m1: initial ChromaTRS bits
We don't put a console on it (we could) we just advertise it as a graphics
device and support the joystick ports.
The code needed to support it in console mode already exists in the MSX1 and
MTX512 ports, but really needs a VDP simulation adding to xtrs to debug sanely
Alan Cox [Sat, 7 Jul 2018 19:26:42 +0000 (20:26 +0100)]
mode: there is a difference between the 9918 and 9918A - we mean A
Alan Cox [Sat, 7 Jul 2018 18:51:41 +0000 (19:51 +0100)]
trs80: Fix backspace/delete
Alan Cox [Sat, 7 Jul 2018 18:50:50 +0000 (19:50 +0100)]
rc: use fsck -a
Alan Cox [Sat, 7 Jul 2018 18:50:19 +0000 (19:50 +0100)]
init: handle blank lines quietly, and fix explosion on bad lines
Alan Cox [Sat, 7 Jul 2018 18:49:50 +0000 (19:49 +0100)]
ed: switch to V7 ed
Alan Cox [Sat, 7 Jul 2018 18:49:30 +0000 (19:49 +0100)]
fsck: Fix use of filesystem names
Alan Cox [Sat, 7 Jul 2018 18:48:59 +0000 (19:48 +0100)]
syscall_other: make halt tell you it's done
Useful when you have a final sync to slow media, or a slow shutdown process
and you want to know when it's finally safe to hit off.
Alan Cox [Sat, 7 Jul 2018 18:24:13 +0000 (19:24 +0100)]
basefs: add new files
Alan Cox [Sat, 7 Jul 2018 18:23:02 +0000 (19:23 +0100)]
etc: update template files a bit
Alan Cox [Sat, 7 Jul 2018 15:36:36 +0000 (16:36 +0100)]
mkfs: exit with a valid return code
Alan Cox [Sat, 7 Jul 2018 14:10:47 +0000 (15:10 +0100)]
ue: add 6502 build rules
Alan Cox [Sat, 7 Jul 2018 14:04:54 +0000 (15:04 +0100)]
Library: add strtok_r everywhere else
Alan Cox [Sat, 7 Jul 2018 14:02:16 +0000 (15:02 +0100)]
strtok_r: useful, trivial but was missing from the C library
Alan Cox [Sat, 7 Jul 2018 14:01:19 +0000 (15:01 +0100)]
ps: make it work like it's supposed to
This still needs work on times, but the kernel needs to catch up first!
Alan Cox [Sat, 7 Jul 2018 00:15:51 +0000 (01:15 +0100)]
ps: reformat - no other changes
Alan Cox [Sat, 7 Jul 2018 00:15:28 +0000 (01:15 +0100)]
ps: split up and begin tidy
Alan Cox [Fri, 6 Jul 2018 23:59:40 +0000 (00:59 +0100)]
init: allow 'c' option for console to claim related devices
Alan Cox [Fri, 6 Jul 2018 23:59:16 +0000 (00:59 +0100)]
apps: build cpmfs etc
Alan Cox [Fri, 6 Jul 2018 23:42:17 +0000 (00:42 +0100)]
trs80m1: typo
Alan Cox [Fri, 6 Jul 2018 23:41:59 +0000 (00:41 +0100)]
trs80: turn on input support and fix keyboard bits
Alan Cox [Fri, 6 Jul 2018 23:41:38 +0000 (00:41 +0100)]
trs80: remove prototypes for deleted code
Alan Cox [Fri, 6 Jul 2018 23:41:16 +0000 (00:41 +0100)]
trs80: move the initializers out of the main flow
Alan Cox [Fri, 6 Jul 2018 23:40:36 +0000 (00:40 +0100)]
trs80: introduce new files for input device handling
Alan Cox [Fri, 6 Jul 2018 23:39:31 +0000 (00:39 +0100)]
remount: add a fallback for finding /
Otherwise it can be a bit fun fixing up a broken setup
Alan Cox [Fri, 6 Jul 2018 23:39:02 +0000 (00:39 +0100)]
utils: add joystick and graphics test code
Alan Cox [Fri, 6 Jul 2018 23:38:00 +0000 (00:38 +0100)]
cpmfs: add help file
Alan Cox [Fri, 6 Jul 2018 23:37:02 +0000 (00:37 +0100)]
cave: fix redefinition of Z80 type
Alan Cox [Fri, 6 Jul 2018 23:36:49 +0000 (00:36 +0100)]
cpmfs: add Makefiles
Alan Cox [Fri, 6 Jul 2018 23:36:04 +0000 (00:36 +0100)]
cpmfs: update types etc
Alan Cox [Fri, 6 Jul 2018 21:24:46 +0000 (22:24 +0100)]
trs80m1: update status
Alan Cox [Fri, 6 Jul 2018 21:22:46 +0000 (22:22 +0100)]
trs80m1: devinput sync with graphics changes
Alan Cox [Fri, 6 Jul 2018 21:21:58 +0000 (22:21 +0100)]
trs80m1: fix up model 3 NMI vector (its a JP xx xx) and turn it off at boot
Otherwise a couple of seconds in we get an NMI that randomly eats AF
Alan Cox [Fri, 6 Jul 2018 21:21:16 +0000 (22:21 +0100)]
trs80m1: fix NMI handling up a bit for the Model III
We have to be really careful about this as the ROM helpful trashes AF
Alan Cox [Fri, 6 Jul 2018 21:20:50 +0000 (22:20 +0100)]
trs80m1: don't do kernel video writes when in micrografyx mode
Alan Cox [Fri, 6 Jul 2018 21:20:29 +0000 (22:20 +0100)]
trs80m1: sort out the graphics logic
Alan Cox [Fri, 6 Jul 2018 21:19:21 +0000 (22:19 +0100)]
graphics.h: sync with kernel
Alan Cox [Fri, 6 Jul 2018 21:19:01 +0000 (22:19 +0100)]
input: add user space include file
Alan Cox [Fri, 6 Jul 2018 21:18:17 +0000 (22:18 +0100)]
graphics: The Microlabs Grafyx for Model III and IV are not the same
Alan Cox [Fri, 6 Jul 2018 21:17:34 +0000 (22:17 +0100)]
input: rework the input layer concept a bit
- Don't write a length byte as we only report one message per read
- Handle signal exits properly
- Don't clash with networking
Alan Cox [Fri, 6 Jul 2018 21:17:18 +0000 (22:17 +0100)]
coco2cart: update README
Alan Cox [Fri, 6 Jul 2018 00:16:35 +0000 (01:16 +0100)]
trs80m1: add initial joystick/input device support
Alan Cox [Fri, 6 Jul 2018 00:15:28 +0000 (01:15 +0100)]
trs80m1: further selector work
Generalize the fork code
Alan Cox [Fri, 6 Jul 2018 00:14:07 +0000 (01:14 +0100)]
trs80m1: fix another selector bug and a warning
Alan Cox [Fri, 6 Jul 2018 00:12:51 +0000 (01:12 +0100)]
trs80m1: report presence of hr1g globally
We need this unfortunate visibility because if you have an HR1G you can't have
an Alpha joystick (polling the joystick turns off the graphics card!)
Alan Cox [Fri, 6 Jul 2018 00:12:08 +0000 (01:12 +0100)]
kernel: add modifiers to kbd events
Alan Cox [Thu, 5 Jul 2018 21:59:26 +0000 (22:59 +0100)]
trs80: clean up graphics
As we can direct map stuff and the card is already slow as molasses there isn't
a good reason to support the Graphics ioctl ops except map so throw them out.
While we are at it update the README
Alan Cox [Thu, 5 Jul 2018 21:56:35 +0000 (22:56 +0100)]
coco2cart; update README
full partitions don't fit
Alan Cox [Thu, 5 Jul 2018 21:13:51 +0000 (22:13 +0100)]
kernel: add a logical key for caps-lock
Makes some ports easier
Alan Cox [Thu, 5 Jul 2018 12:01:40 +0000 (13:01 +0100)]
trs80m1: make trs80-bank more flexible
Rework trs80-bank so that anything that can be represented by
out someport, someconst - kernel bank 1
out someport, someconst - kernel bank 2
out someport, value - user banks
Can be handled with ease.
This code also adds selector support as the second bank type and others can now
be added without much trouble. It's not the whole story as the fork() code
also needs changing and the fast copier is a bit trickier.
Alan Cox [Thu, 5 Jul 2018 12:00:38 +0000 (13:00 +0100)]
README: add a reminder about the IDE card
Alan Cox [Thu, 5 Jul 2018 11:59:19 +0000 (12:59 +0100)]
trs80load: make current loaders explicitly pass A = 0
A is zero anyway but we have room to make it clear
Alan Cox [Thu, 5 Jul 2018 11:58:27 +0000 (12:58 +0100)]
trs80m1: preserve A from the boot loader to use as mapper info
We need different boot blocks for different mappers so make them pass in a
mapper code.
Our current boot blocks all enter with A = 0 s this is compatible.
Alan Cox [Wed, 4 Jul 2018 23:45:05 +0000 (00:45 +0100)]
trs80m1: fix comment
Alan Cox [Wed, 4 Jul 2018 23:34:47 +0000 (00:34 +0100)]
trs80m1: keyboard updates
Alan Cox [Wed, 4 Jul 2018 23:17:23 +0000 (00:17 +0100)]
vtsupport: make the TRS80 model 1 lower case optional
Add support for both unmodified and lowercase machines (with or without all
the extra Tandy logic)
Alan Cox [Wed, 4 Jul 2018 23:17:15 +0000 (00:17 +0100)]
stringy: more debug work