This page (revision-16) was last changed on 03-Feb-2023 15:21 by Steve N 

This page was created on 23-Jan-2016 02:37 by Steve N

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
16 03-Feb-2023 15:21 25 KB Steve N to previous
15 26-Jan-2016 01:32 25 KB Steve N to previous | to last Added table of contents
14 24-Jan-2016 11:42 25 KB Steve N to previous | to last Amended relocation text
13 24-Jan-2016 09:38 25 KB Steve N to previous | to last Added alternate drive check information. Needs comments on status codes.
12 24-Jan-2016 05:58 24 KB Steve N to previous | to last Added credit information
11 23-Jan-2016 10:21 24 KB Steve N to previous | to last Cleaned up the English from Google English to UK English in the examples sectio.
10 23-Jan-2016 10:03 24 KB Steve N to previous | to last Previously missed out a couple of updates
9 23-Jan-2016 10:02 24 KB Steve N to previous | to last Cleaned up plenty of copied and pasted code.
8 23-Jan-2016 08:32 24 KB Steve N to previous | to last Wiki restricts consecutive spaces to 1, using code formatting to stop this.
7 23-Jan-2016 06:55 24 KB Steve N to previous | to last Added download location information and amended formatting...
6 23-Jan-2016 06:49 24 KB Steve N to previous | to last Formatting amendments... needs a lot more
5 23-Jan-2016 06:41 24 KB Steve N to previous | to last Formatting corrections...
4 23-Jan-2016 03:13 24 KB Steve N to previous | to last Added .cfg file details
3 23-Jan-2016 02:57 23 KB Steve N to previous | to last Cleaned up formatting a lot. Ready for public viewing and amendment.
2 23-Jan-2016 02:45 23 KB Steve N to previous | to last Some headers set up, still needs lots of reformatting... (work in progress)
1 23-Jan-2016 02:37 25 KB Steve N to last Initial raw dump from document released on AtariAge

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 added 2 lines
[{TableOfContents}]
At line 33 changed one line
c) New directories cannot be created.
c) New directories cannot be created programatically.
At line 62 changed one line
!!Practical Usage
!!!Practical Usage
At line 133 changed one line
Each entry in this jump table specifies where in memory that the code for each function resides. Replace the $xxxx at the start with a starting address. $0800 should a be safe address for all purposes. If you ever wish to start from a different address, simply change the value for ‘xBIOS’.
Each entry in this jump table specifies where in memory that the code for each function resides. If you ever wish to start from a different address, change the value for ‘xBIOS’ above and change the value in the binary header of xBIOS.com.
At line 154 changed one line
Please note that xBIOS do not use page zero.
Please note that xBIOS do not use page zero. You can change the start address from the third entry above.
At line 156 removed one line
At line 159 changed one line
!Examples
!!!Examples
At line 161 changed one line
Here are some of the examples taken from http://xxl.atari.pl and other online sources, but with a few extra / modified comments in English.
Here are some of the examples taken from http://xxl.atari.pl and other online sources, but with a few extra/modified comments in English.
At line 166 added one line
At line 179 changed one line
Load and run the file, INIT and RUN headers are supported. Boot Loader has an analogous function xBOOT_LOAD_FILE. In the case of the boot loader if the file does not have a defined block RUN will be launched from the beginning of the first block.
Load and run the file, INIT and RUN headers are supported. "Boot Loader" has an analogous function xBOOT_LOAD_FILE. In the case of the boot loader if the file does not have a defined block RUN will be launched from the beginning of the first block.
At line 201 added one line
At line 208 removed one line
Data starting from the given address in the memory, save to a file, you can set the file pointer offset current (FILE_OFFSET) and the amount of data to be saved (SET_LENGTH). If you do not define these values ​​in the file are stored data from the current file position to the end of the file.
At line 212 added 2 lines
Save data from memory to a file, starting from the current position in the file. You can set the file pointer offset current (FILE_OFFSET) and the amount of data to be saved (SET_LENGTH). If you do not define these values, data from the current file position to the end of the file is written to the file.
At line 235 added one line
At line 244 added one line
At line 246 removed one line
Defines the amount of data processed while reading or writing. If your OPEN_FILE value is not defined this operation will be carried out until the end of the file.
At line 253 added 2 lines
Defines the amount of data to process while reading or writing. If your OPEN_FILE value is not defined this operation will be carried out until the end of the file.
At line 255 removed one line
Allows you to change the vector location INITAD ($ 2E2) loaded binary files.
At line 263 added 2 lines
Allows you to change the init address vector INITAD ($2E2) for loaded binary files.
At line 264 removed one line
Sets the current position of the read / write file on a value stored in the A, X, Y. This item is calculated relative to the beginning of the file. Number of byte that will be read or written. In DOS operation is called POINT.
At line 273 added 2 lines
Sets the current read/write position in the current file with a value stored in A, X, Y. This item is calculated relative to the beginning of the file. In DOS speak, the operation is called "POINT".
At line 274 removed one line
Allows you to change the vector location RUNAD ($ 2E0) loaded binary files.
At line 284 added 2 lines
Allows you to change the run address vector RUNAD ($2E0) for loaded binary files.
At line 283 changed one line
Restores the standard I / O controller external device.
Restores the standard IO device.
At line 300 removed one line
Load and run the binary file from the current position of the read / write. INIT and RUN headers are supported.
At line 312 added 2 lines
Load and run the binary file from the current read/write position. INIT and RUN headers are supported.
At line 319 added one line
At line 315 changed one line
Change the I / O controller external device.
Change the IO device.
At line 334 changed one line
Gets another entry in the directory. In the registry X returns the index to the filename or folder (byte of buffer address is stored in the variable xBUFFERH) A registry is transmitted status byte entry. C is set to mark the end of the directory.
Gets another entry in the directory. The X register returns the index to the filename or folder (byte of buffer address is stored in the variable xBUFFERH). The accumulator is set with the status. The carry flag is set when the end of the directory is found.
At line 341 removed one line
To open the default file. The function does not search the directory file handle is taken from the variable Xfile.
At line 355 added 2 lines
Opens the default file. The function does not search the directory, the file handle is derived from the variable 'Xfile'.
At line 362 added one line
At line 358 changed one line
Function allows you to find the specified directory entry. In the registry X returns the index to the filename or folder (byte of buffer address is stored in the variable xBUFFERH). A registry is transmitted status byte entry. Set marker C is an entry not found.
This function allows you to find the specified directory entry. The X register returns the index to the filename or folder (byte of buffer address is stored in the variable xBUFFERH). The accumulator is the status byte. If an entry is not found, the carry flag is set.
At line 367 changed one line
Feature allows you to set the buffer size for I / O operations. Buffer Size - byte - is also stored in the variable xBUFSIZE.
This feature allows you to set the buffer size for IO operations. Buffer Size is also stored in the variable xBUFSIZE in bytes format.
At line 381 changed one line
PUPBT1 equ $033D ;power-up validation byte 1
PUPBT1 equ $033D ; Power-up validation byte 1
At line 407 changed one line
jmp xBIOS_SET_RUNAD ; new runad vector
jmp xBIOS_SET_RUNAD ; new runad vector
At line 411 changed one line
.word run_adr ; RUN
.word run_adr ; RUN
At line 414 changed one line
.byte d'xxl' ; let the RESET key work as a RESET key
.byte d'xxl' ; Let the RESET key work as a RESET key
At line 416 changed one line
org $0000
org $0000
At line 420 changed one line
_stop jmp _stop ; Endless loop
_stop jmp _stop ; Endless loop
At line 430 changed one line
start sei
start sei
At line 511 changed one line
.byte d'xxl' ; let the RESET key works as RESET key
.byte d'xxl' ; Let the RESET key work as a RESET key
At line 528 changed one line
jmp xBIOS_SET_DEFAULT_DEVICE ; SIO drive
jmp xBIOS_SET_DEFAULT_DEVICE ; SIO drive
At line 616 changed 5 lines
xFILE equ xBIOS+$3ec ; file handle
xDAUX3 equ xBIOS+$3f3 ; buffer offset if AtariDOS FS
xDAUX2 equ xBIOS+$3fd ; sektor hi if AtariDOS FS
xDAUX1 equ xBIOS+$3fe ; sektor lo if AtariDOS FS
PUPBT1 equ $033D ;power-up validation byte 1
xFILE equ xBIOS+$3ec ; File handle
xDAUX3 equ xBIOS+$3f3 ; Buffer offset if AtariDOS FS
xDAUX2 equ xBIOS+$3fd ; Sector hi if AtariDOS FS
xDAUX1 equ xBIOS+$3fe ; Sector lo if AtariDOS FS
PUPBT1 equ $033D ; Power-up validation byte 1
At line 627 changed one line
.byte d'xxl' ; let the RESET key works as RESET key
.byte d'xxl' ; Let the RESET key work as a RESET key
At line 760 added 10 lines
!Checking if Alternative Disk Drives Exist
Apply this code to check if a particular disk drive exists (1-8).
{{{
lda #device_number
sta xDEVICE
jsr status
}}}
At line 806 added 8 lines
------
{{{
Original document from Steve Nicklin (snicklin at AtariAge).
Imported into AtariWiki (23/01/2016) to allow peer feedback and improvement.
}}}