2021-09-06 22:29:59 -04:00
|
|
|
* MAINMEM.LISTS.S
|
|
|
|
* (c) Bobbi 2021 GPLv3
|
|
|
|
*
|
|
|
|
* ProDOS parameter list for MLI calls.
|
|
|
|
|
|
|
|
OPENPL HEX 03 ; Number of parameters
|
|
|
|
DW $0000 ; Pointer to filename
|
|
|
|
DW IOBUF0 ; Pointer to IO buffer
|
|
|
|
DB $00 ; Reference number returned
|
|
|
|
|
|
|
|
OPENPL2 HEX 03 ; Number of parameters
|
|
|
|
DW $0000 ; Pointer to filename
|
|
|
|
DW $0000 ; Pointer to IO buffer
|
|
|
|
DB $00 ; Reference number returned
|
|
|
|
|
|
|
|
CREATEPL HEX 07 ; Number of parameters
|
|
|
|
DW $0000 ; Pointer to filename
|
|
|
|
DB $00 ; Access
|
|
|
|
DB $00 ; File type
|
|
|
|
DW $0000 ; Aux type
|
|
|
|
DB $00 ; Storage type
|
|
|
|
DW $0000 ; Create date
|
|
|
|
DW $0000 ; Create time
|
|
|
|
|
|
|
|
DESTPL HEX 01 ; Number of parameters
|
|
|
|
DW $0000 ; Pointer to filename
|
|
|
|
|
|
|
|
RENPL HEX 02 ; Number of parameters
|
|
|
|
DW $0000 ; Pointer to existing name
|
|
|
|
DW $0000 ; Pointer to new filename
|
|
|
|
|
|
|
|
READPL HEX 04 ; Number of parameters
|
|
|
|
DB $00 ; Reference number
|
|
|
|
DW BLKBUF ; Pointer to data buffer
|
|
|
|
DW 512 ; Request count
|
|
|
|
DW $0000 ; Trans count
|
|
|
|
|
|
|
|
READPL2 HEX 04 ; Number of parameters
|
|
|
|
DB #00 ; Reference number
|
|
|
|
DW BLKBUF ; Pointer to data buffer
|
|
|
|
DW 1 ; Request count
|
|
|
|
DW $0000 ; Trans count
|
|
|
|
|
2021-09-15 22:03:57 -04:00
|
|
|
* Used for file copy only because we can't trash BLKBUF
|
|
|
|
RDPLCP HEX 04 ; Number of parameters
|
|
|
|
DB $00 ; Reference number
|
|
|
|
DW COPYBUF ; Pointer to data buffer
|
|
|
|
DW 512 ; Request count
|
|
|
|
DW $0000 ; Trans count
|
|
|
|
|
2021-09-06 22:29:59 -04:00
|
|
|
WRITEPL HEX 04 ; Number of parameters
|
|
|
|
DB $01 ; Reference number
|
|
|
|
DW BLKBUF ; Pointer to data buffer
|
|
|
|
DW $00 ; Request count
|
|
|
|
DW $0000 ; Trans count
|
|
|
|
|
2021-09-15 22:03:57 -04:00
|
|
|
* Used for file copy only because we can't trash BLKBUF
|
|
|
|
WRTPLCP HEX 04 ; Number of parameters
|
|
|
|
DB $01 ; Reference number
|
|
|
|
DW COPYBUF ; Pointer to data buffer
|
|
|
|
DW $00 ; Request count
|
|
|
|
DW $0000 ; Trans count
|
|
|
|
|
2021-09-06 22:29:59 -04:00
|
|
|
CLSPL HEX 01 ; Number of parameters
|
|
|
|
DB $00 ; Reference number
|
|
|
|
|
|
|
|
FLSHPL HEX 01 ; Number of parameters
|
|
|
|
DB $00 ; Reference number
|
|
|
|
|
|
|
|
ONLNPL HEX 02 ; Number of parameters
|
|
|
|
DB $00 ; Unit num
|
|
|
|
DW DRVBUF2 ; Buffer
|
|
|
|
|
|
|
|
GSPFXPL HEX 01 ; Number of parameters
|
|
|
|
DW DRVBUF1 ; Buffer
|
|
|
|
|
|
|
|
GPFXPL HEX 01 ; Number of parameters
|
|
|
|
DW PREFIX ; Buffer
|
|
|
|
|
|
|
|
SPFXPL HEX 01 ; Number of parameters
|
|
|
|
DW MOSFILE ; Buffer
|
|
|
|
|
|
|
|
GMARKPL HEX 02 ; Number of parameters
|
|
|
|
DB $00 ; File reference number
|
|
|
|
DB $00 ; Mark (24 bit)
|
|
|
|
DB $00
|
|
|
|
DB $00
|
|
|
|
|
|
|
|
GEOFPL HEX 02 ; Number of parameters
|
|
|
|
DB $00 ; File reference number
|
|
|
|
DB $00 ; EOF (24 bit)
|
|
|
|
DB $00
|
|
|
|
DB $00
|
|
|
|
|
|
|
|
GINFOPL HEX 0A ; Number of parameters
|
|
|
|
DW $0000 ; Pointer to filename
|
|
|
|
DB $00 ; Access
|
|
|
|
DB $00 ; File type
|
|
|
|
DW $0000 ; Aux type
|
|
|
|
DB $00 ; Storage type
|
|
|
|
DW $0000 ; Blocks used
|
|
|
|
DW $0000 ; Mod date
|
|
|
|
DW $0000 ; Mod time
|
|
|
|
DW $0000 ; Create date
|
|
|
|
DW $0000 ; Create time
|
|
|
|
|
|
|
|
QUITPL HEX 04 ; Number of parameters
|
|
|
|
DB $00
|
|
|
|
DW $0000
|
|
|
|
DB $00
|
|
|
|
DW $0000
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-09-06 23:43:42 -04:00
|
|
|
|
|
|
|
|
2021-09-09 13:38:27 -04:00
|
|
|
|
|
|
|
|
2021-09-10 01:10:16 -04:00
|
|
|
|
|
|
|
|
2021-09-10 14:53:24 -04:00
|
|
|
|
|
|
|
|
2021-09-10 16:11:57 -04:00
|
|
|
|
|
|
|
|
2021-09-12 02:05:17 -04:00
|
|
|
|
|
|
|
|
2021-09-16 23:16:05 -04:00
|
|
|
|
|
|
|
|
2021-09-17 17:51:11 -04:00
|
|
|
|
2021-09-22 18:36:05 -04:00
|
|
|
|
|
|
|
|
2021-09-23 12:59:36 -04:00
|
|
|
|
|
|
|
|
2021-09-23 18:16:21 -04:00
|
|
|
|
|
|
|
|
2021-09-23 22:07:36 -04:00
|
|
|
|
|
|
|
|
2021-09-25 12:50:08 -04:00
|
|
|
|
|
|
|
|
2021-09-26 18:25:23 -04:00
|
|
|
|
|
|
|
|
2021-09-29 10:21:04 -04:00
|
|
|
|
|
|
|
|
2021-09-30 16:40:32 -04:00
|
|
|
|
|
|
|
|
2021-09-21 22:59:11 -04:00
|
|
|
|
|
|
|
|
2021-09-17 17:51:11 -04:00
|
|
|
|