Commit Graph

22 Commits

Author SHA1 Message Date
Joshua Bell 7bbc96924b Add SETUP.SYSTEM and build .SETUP files
This is an alternate approach proposed by Sean Nolan in 1987 which
allows placing the driver files in a subdirectory of the root volume
to avoid clutter and file ordering issues. Only a SETUP.SYSTEM file is
needed at the top level, and the drivers go into a SETUPS/ directory.

All drivers here (except QUIT.SYSTEM and SETUP.SYSTEM itself) have
alternate forms built into the /DRIVERS/SETUPS/ directory as XYZ.SETUP
instead of XYZ.SYSTEM. If you choose to use SETUP.SYSTEM, place these
.SETUP files in your SETUPS/ directory. The naming doesn't matter -
any SYS or BIN file can be used - but this convention makes
distribution easier. These .SETUP files do **NOT** chain to the next
file - that's handled by SETUP.SYSTEM itself.

Resolves #16
2024-01-30 21:16:32 -08:00
Joshua Bell d37691dead Jumbo clock driver: Include success logging 2023-01-31 20:01:05 -08:00
Joshua Bell f740575697 Code formatting, constants, and comments 2022-01-06 16:58:03 -08:00
Joshua Bell ea853d7af1 Close open file on more error paths 2021-12-06 20:47:15 -08:00
Renee Harke 39c7f83e04 Close directory if no .SYSTEM file found to chain to 2021-12-06 22:34:28 -05:00
Joshua Bell b621ac6a4d Add ROMX RTC driver, c/o Jeff Mazur.
This is a modified version of the ROMX Real-Time Clock driver. The changes include:

* Converting the source to ca65.

* Integrating with the driver installer framework.

* Adapting the driver to not modify page 2 beyond $220. The ROMX RTC
  firmware writes bytes to $2B0, and the the original driver placed
  temp code at $250. This can conflict with ProDOS applications that
  use page 2, so the driver was reworked to save/restore anything at
  at $2B0.

Other changes:

* Add a util/ source dir, and cricket/date, quit.system and
  pause.system there.

* Pull the "print current date" logic out of clock drivers into driver
  preamble.
2021-10-05 19:58:31 -07:00
Joshua Bell 974a7d49f0 Installer: If next .SYSTEM file is not found, just QUIT.
Previously, an error was shown. This means using QUIT.SYSTEM was
required if you wanted to launch Bitsy Bye (or whatever selector you
installed). This meant extra code, and wasn't user friendly. You may
still want QUIT.SYSTEM if you have e.g. BASIC.SYSTEM later in your
directory.
2021-09-06 11:31:18 -07:00
Joshua Bell 46aef091df Have clock/ram drivers print at the bottom of the screen.
Trying this out. Might not stick with it.

Also added a PAUSE.SYSTEM that just waits a bit, if you want a delay
in your startup sequence to watch the log messages.
2021-08-25 20:49:41 -07:00
Joshua Bell ace258d862 Rejiggered the selectors, added actual 40-column Bird's Better Bye.
I discovered that Bird's Better Bye and the ProDOS 1.9 selector are different.
Documentation updated with the history to the best of my knowledge.
2020-12-23 19:23:23 -08:00
Joshua Bell 5cf3426967 Add AE DClock driver, based on work by M.G. Fixes #3 2020-12-21 20:47:07 -08:00
Joshua Bell cc49835c9f RAM.DRV.SYSTEM: Show block count. Resolves #2 2020-12-21 13:27:54 -08:00
Joshua Bell 1260999b6c Add SELECTOR.SYSTEM capturing the behavior of ProDOS 1.x. Fixes #5
Mostly just for historical interest.
2020-12-21 10:50:54 -08:00
Joshua Bell cf891e061f Makefile tidying, unify headers 2019-10-04 18:10:01 -07:00
Joshua Bell 0f41276584 Combine preamble files, .gitignore, and split out ns.clock 2019-10-03 21:49:53 -07:00
Joshua Bell 0626869e27 Unify inc/ directories 2019-10-03 21:23:00 -07:00
Joshua Bell e34e7a9728 Merge a2stuff/ram.drv.system, move to subdir 2019-10-03 21:17:31 -07:00
Joshua Bell 7cc70cd729 Use common driver chain logic 2019-09-30 20:34:17 -07:00
Joshua Bell 9b98a09067 rearrange config/data 2019-06-19 20:21:10 -07:00
Joshua Bell 903cd4ff1e Fix chaining 2019-06-18 22:10:49 -07:00
Joshua Bell d115882280 Chain to next SYSTEM file. Resolves #1 2019-06-17 20:46:32 -07:00
Joshua Bell 9d424a4e01 Add pushorg/poporg macros 2019-06-14 21:23:24 -07:00
Joshua Bell fbd79badee initial snapshot 2019-02-24 20:03:51 -08:00