a2stuff / prodos-drivers

Apple II ProDOS-8 system files that run on startup and install clock drivers, ramdisks, and other utilities
31 stars 7 forks source link

RAM.DRV.SYSTEM: Show block count after installing #2

Closed inexorabletash closed 3 years ago

inexorabletash commented 5 years ago

As part of the installation banner shown while chaining to the next system file, the block count (size of RAM disk) could be displayed. e.g.

RAMWorks RAM Disk - Installed: 3048 blocks

inexorabletash commented 3 years ago

Ugh, LINPRNT would be easy to output the block size, but it requires some of Applesoft initialized or it crashes...

inexorabletash commented 3 years ago

For posterity, LINPRNT requires:

Equates per http://www.txbobsc.com/scsc/scdocumentor/definitions.html