Skip to navigation


Workspaces: Disk operations workspace 2

[Apple II version, Loader]

Name: Disk operations workspace 2 [Show more] Type: Workspace Address: $25D6 to $287B Category: Workspaces Summary: Variables used by the disk operations and DOS 3.3 RWTS routines
Context: See this workspace in context in the source code References: No direct references to this workspace in this source file
ORG $25D6 .buffer SKIP 48 ; A 256-byte sector buffer, where we can load sectors ; from the disk, such as the track/sector list, or the ; commander file contents ; ; For file data, this is where we store the data that ; we want to save, before it is pre-nibblized into ; 6-bit nibbles in buff2 by the prenib routine ; ; It is also where file data is stored after being ; post-nibblized, in which case the 6-bit nibbles in ; buffr2 are converted into 8-bit bytes and stored here ; ; [Show more]
; ; This variable is used by the following: ; ; * CopyTrackSector ; * gettsl ; * LoadFile ; * pstnib ; * rentry ; ; This list only includes code that refers to the ; variable by name; there may be other references to ; this memory location that don't use this label, and ; these will not be mentioned above
.fretrk SKIP 1 ; The number of the last track that we checked for a ; free sector in the getsct routine ; ; [Show more]
; ; This variable is used by the following: ; ; * getsct ; ; This list only includes code that refers to the ; variable by name; there may be other references to ; this memory location that don't use this label, and ; these will not be mentioned above
.dirtrk SKIP 3 ; The direction in which we are searching tracks for ; free sectors in the getsct routine (+1 or -1) ; ; [Show more]
; ; This variable is used by the following: ; ; * getsct ; ; This list only includes code that refers to the ; variable by name; there may be other references to ; this memory location that don't use this label, and ; these will not be mentioned above
.tracks SKIP 1 ; The number of tracks per disk ; ; [Show more]
; ; This variable is used by the following: ; ; * getsct ; ; This list only includes code that refers to the ; variable by name; there may be other references to ; this memory location that don't use this label, and ; these will not be mentioned above
SKIP 3 ; Padding to ensure the bitmap variable lines up with ; byte #56 ($38) for the bitmap of free sectors .bitmap SKIP 200 ; Bit map of free sectors in track 0, at byte #56 ($38) ; in the buffer ; ; [Show more]
; ; This variable is used by the following: ; ; * getsct ; ; This list only includes code that refers to the ; variable by name; there may be other references to ; this memory location that don't use this label, and ; these will not be mentioned above
SKIP 72 ; These bytes appear to be unused .buffr2 SKIP 350 ; A 342-byte buffer for storing data in the 6-bit nibble ; format ; ; This is where we load file data from the disk in the ; 6-bit nibble format, so it can be post-nibblized into ; 8-bit bytes and stored in buffer ; ; It is also where we store nibblized data that is ready ; to be saved to the disk ; ; [Show more]
; ; This variable is used by the following: ; ; * pstnib ; * read ; ; This list only includes code that refers to the ; variable by name; there may be other references to ; this memory location that don't use this label, and ; these will not be mentioned above
PRINT "Disk operations workspace 2 from ", ~buffer, "to ", ~P%-1, "inclusive"