Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
$#!
 __farptr
 __farptr_get
 __farptr_i
 __fgetb
 __ldb
 __ldbp
 __ldby
 __ldub
 __ldubp
 __phax
 __plax
 _ah
 _al
 _ax
 _bh
 _bl
 _bp
 _bx
 _ch
 _cl
 _cx
 _dh
 _di
 _dl
 _dx
 _fat32_checksum
 _fat32_end_of_fat
 _fat32_is_lfn
 _fat32_next_cluster
 _fat32_next_sector
 _fat32_open_root_dir
 _fat32_read_boot_sector
 _fat32_sector_address
 _r0
 _r1
 _si
0-9
 2, bm_getptr
 2-buttons Joypad Bitfield
 3_cmp, _fat32_8
 32 bits(Double Word)value manipulation macros
 6-buttons Joypad Bitfield
 8x8 monochrome 1bpp font
A
 adcdw
 adcw
 add
 adddw
 addw
 asldw
 aslw
B
 Background Map Virtual Size
 Backup RAM
 BCD conversion routines
 binbcd16
 binbcd8
 bm_adjust_pointer
 bm_bind
 bm_check_header
 bm_checksum
 bm_create
 bm_delete
 bm_detect
 bm_exists
 bm_files
 bm_format
 bm_free
 bm_open
 bm_read
 bm_size
 bm_test
 bm_unbind
 bm_write
 Byte manipulation macros
 byte.inc
C
 Clock
 clock_hh
 clock_mm
 clock_reset
 clock_ss
 clock_tt
 clock_update
 collision_eval
 color_ctrl
 color_data
 color_reg
 colorport
 Control Register Flags
 Copy Modes
 CRC routines
 crc16
 crc32
 crc32_begin
 crc32_end
D
 decdw
 decw
 Default VDC values
 Description
 divu8
 DMA Control Register Flags
 dword.inc
F
 FAT 32 driver
 FAT32 directory entry attribute flag
 FAT32 routines
 FAT32_ARCHIVE
 FAT32_BOOT_JMP
 FAT32_BOOT_NOP
 FAT32_BYTES_PER_SECTOR
 FAT32_DIRECTORY
 FAT32_FAT_COUNT
 fat32_find_file
 fat32_free_cluster
 fat32_get_filename
 FAT32_HIDDEN
 FAT32_INT13_PARTITION
 fat32_lfn_get
 FAT32_LONG_NAME
 FAT32_MAX_PARTITION_COUNT
 FAT32_MAX_PATH
 FAT32_MBR_SIGNATURE
 FAT32_MEDIA_TYPE
 fat32_mount
 fat32_open
 FAT32_PARTITION
 fat32_read
 fat32_read_entry
 fat32_read_mbr
 FAT32_READ_ONLY
 fat32_read_sector
 FAT32_SYSTEM
 FAT32_VOLUME_ID
 Font routines
 font_8x8
 FONT_8x8_ASCII_FIRST
 FONT_8x8_ASCII_LAST
 FONT_8x8_COUNT
 font_8x8_load
 FONT_DIGIT_INDEX
 font_load
 FONT_LOWER_CASE_INDEX
 font_set_addr
 font_set_pal
 FONT_UPPER_CASE_INDEX
 Functions
Copy bank id and offset of a label.
Push registers A and X onto the stack.
Pull registers X and A from the stack.
_ah = _ax+1
_ax MSB
_al = _ax
_ax LSB
_ax = $20f8
_bh = _bx+1
_bx MSB
_bl = _bx
_bx LSB
_bp = $20ec
Base pointer.
_bx = $20fa
_ch = _cx+1
_cx MSB
_cl = _cx
_cx LSB
_cx = $20fc
_dh = _dx+1
_dx MSB
_di = $20f0
Destination address.
_dl = _dx
_dx LSB
_dx = $20fe
Computes the directory entry checksum.
Checks if the last fat sector was reached.
Checks if the current directory entry is a long filename (LFN) entry.
Retrieves the next data cluster from the File Allocation Table.
Reads next data sector and stores the data at the memory location pointed by fat32.data_buffer.
Opens root directory of current partition.
Reads FAT32 boot sector.
Computes the sector id of a cluster.
_r0 = $20e8
_r1 = $20ea
_si = $20ee
Source address.
Given a pointer to the BRAM, obtain the name of the entry and the pointer to the next entry.
Checks it the 8.3 filename stored in a directory entry matches current string.
Add 32 bits value plus carry to value at stated memory location.
Add word-sized value plus carry to value at stated memory location.
Add a byte to accumulator.
Add 32 bits value to value at stated memory location.
Add word-sized value to value at stated memory location.
Left shift 32 bits value.
Left shift word-sized value.
The Tennokoe 2, IFU-30 and DUO systems provided an extra 2KB of battery powered back up memory.
Convert an 16 bit binary value to BCD
Convert an 8 bit binary value to BCD.
Unlock and map BRAM to mpr #4.
Checks if the BRAM header is valid.
Compute checksum.
Create a new entry at the end of current storage.
Delete the specified entry.
Detect if a BRAM is present on the system.
Check if there is an entry which name matches the one given as parameter.
Get file by index and store the information in a buffer.
Initialize backup memory.
Returns the number of free bytes.
Finds the BRAM entry whose name is given as argument.
Read entry data.
Get the storage capacity in bytes of the backup RAM.
Test if data can safely be written to BRAM.
Lock BRAM and restore mpr #4.
Update entry data.
clock_hh .ds 1
System clock, hours since startup (0-255)
clock_mm .ds 1
System clock, minutes since startup (0-59)
Reset system clock.
clock_ss .ds 1
system clock, seconds since startup (0-59)
clock_tt .ds 1
System clock, ticks (1/60th sec) since startup (0-59)
Update system clock.
Check if 2 axis aligned quads intersects.
color_ctrl = colorport
VCE Control register.
color_data = colorport+4
VCE Color table data register.
color_reg = colorport+2
VCE control table index register.
colorport = $0400
VCE port.
Computes CRC-16 (CCITT).
Computes CRC-32.
Resets CRC-32 value.
Finalizes CRC-32 value.
Decrement a 32 bits value at stated memory location.
Decrement a word-sized value at stated memory location.
The Pachinko controller is a standard joypad controller coupled with a dial.
Divide 2 unsigned bytes.
FAT32_ARCHIVE = %0010_0000
FAT32_BOOT_JMP = $EB
JMP opcode (x86).
FAT32_BOOT_NOP = $90
NOP opcode (x86).
FAT32_BYTES_PER_SECTOR = $200
Number of bytes per sector.
FAT32_DIRECTORY = %0001_0000
FAT32_FAT_COUNT = $02
Maximum number of File Attribute Tables.
Opens the file whose name is the string pointed to by _r1.
Inspects the FAT in order to find the id of the first free cluster.
Retrieves the directory entry file name.
FAT32_HIDDEN = %0000_0010
FAT32_INT13_PARTITION = $0c
Retrieves the directory entry long file name (if any).
FAT32_LONG_NAME = $0f
FAT32_MAX_PARTITION_COUNT = 4
Maximum number of msdos partitions.
FAT32_MAX_PATH = 260
Maximum character length of a path.
FAT32_MBR_SIGNATURE = $AA55
Master Boot Record signature.
FAT32_MEDIA_TYPE = $f8
Mount a FAT32 partition and opens its root directory.
Opens the file whose directory entry is pointed by _si for reading.
FAT32_PARTITION = $0b
Reads _cx bytes from the currently opened file and stores them at the memory location given by fat32.dst.
Retrieves the next valid directory entry and moves fat32.data_offset past it.
Reads partition table from sector.
FAT32_READ_ONLY = %0000_0001
Copies 512 bytes from the specified sector to the destination buffer.
FAT32_SYSTEM = %0000_0100
FAT32_VOLUME_ID = %0000_1000
font_8x8:
8x8 1bpp font data.
ASCII code of the first font character.
ASCII code of the last font character.
FONT_8x8_COUNT=$80
Number of characters embedded in the font.
Load default 1bpp 8x8 font.
FONT_DIGIT_INDEX=$30
Tile index of the first digit character (‘0’).
Load 1bpp font to VRAM.
FONT_LOWER_CASE_INDEX=$61
Tile index of the first lowercase character (‘a’).
Set font address.
Set font palette.
FONT_UPPER_CASE_INDEX=$41
Tile index of the first uppercase character (‘A’).
Close