mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-31 21:29:39 +00:00
b371e3436f
Added new SmartPort Harddisk Controller (HDC) firmware for Enhanced //e. (@burniouf) . remove the old DOSMaster entrypoints. . firmware ID byte (at $FE) defaults to 4 ProDOS block devices (was 2 with older v2 f/w). Enhanced //e defaults to using SP f/w, and older Apple II's still use the older v2 f/w. Support up to 8 units per HDC (currently limited to 4GiB capacity for each unit). Save-state: save HDC firmware in state file. New slot-specific switches to configure each HDC's firmware: -s<N> -hdc-[sp|bm2|bm4]. New switch to select old non-SP firmware for all HDCs: -hdc-firmware-v2.
20 lines
661 B
PHP
20 lines
661 B
PHP
;--------------------------------------
|
|
; ProDOS defines
|
|
;--------------------------------------
|
|
PRODOS_MAXPATH = 64
|
|
;--------------------------------------
|
|
; Error codes
|
|
;--------------------------------------
|
|
E_BADCALL = $01 ; Bad Call Number
|
|
E_BADCNT = $04 ; Bad Parameter Count
|
|
E_BUSERR = $06 ; Communications Error
|
|
E_BADCTL = $21 ; Invalid Status Code
|
|
|
|
E_IO = $27 ; I/O Error
|
|
E_NODEV = $28 ; No Device Connected
|
|
E_WRTPROT = $2B ; Write Protected
|
|
E_BADBLOCK = $2D ; Invalid Block Number
|
|
E_DSKSWIT = $2E ; Disk Switched
|
|
E_OFFLINE = $2F ; Device Offline
|
|
;--------------------------------------
|