sbcv2: Get rid of the boot via CP/M hack and make it bootable
authorAlan Cox <alan@linux.intel.com>
Sat, 8 Sep 2018 20:53:41 +0000 (21:53 +0100)
committerAlan Cox <alan@linux.intel.com>
Sat, 8 Sep 2018 20:53:41 +0000 (21:53 +0100)
commit80dedbed021060225d2088270108fcba67a2aba3
tree6f69dac11b186f8bd0d72caecca84391309deb83
parentffeffae34a916391c236ff4ac0c746aa1ea863c6
sbcv2: Get rid of the boot via CP/M hack and make it bootable

This needs a little care because it's not well documented and also

1. If you tell ROMWBW your loader is from F200 to F3FF it loads all of memory
and goes boom. Tell it F400 and it's ok

2. ROMWBW lacks the notion of an 'I/O bank' so you can't do disk I/O into the
low 32K directly.

That aside ROMWBW has a nice easy interface so the boot loader is quite trivial.
Not quite as trivial as the Microbee but not far off!
Kernel/platform-sbcv2/Makefile
Kernel/platform-sbcv2/boot-romwbw.s [new file with mode: 0644]
Kernel/platform-sbcv2/config.h
Kernel/platform-sbcv2/crt0.s