Function 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
$#!
_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
0-9
2
,
bm_getptr
3_cmp
,
_fat32_8
B
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
C
collision_eval
crc16
crc32
crc32_begin
crc32_end
D
divu8
F
fat32_find_file
fat32_free_cluster
fat32_get_filename
fat32_lfn_get
fat32_mount
fat32_open
fat32_read
fat32_read_entry
fat32_read_mbr
fat32_read_sector
font_8x8_load
font_load
font_set_addr
font_set_pal
J
joypad_6_read
joypad_read
M
map_data
map_load
map_load_16
map_set_bat_bounds
mulu16
mulu8
P
print_bcd
print_char
print_dec_u16
print_dec_u8
print_digit
print_fill
print_hex
print_hex_u16
print_hex_u8
print_string
print_string_n
print_string_raw
psg_init
R
rand8
rand8_seed
remap_data
S
scroll_hsync_callback
spr_ctrl
spr_hide
spr_pal
spr_pattern
spr_pri
spr_show
spr_update_satb
spr_x
spr_y
U
unmap_data
V
vce_init
vce_load_palette
vdc_calc_addr
vdc_clear
vdc_fill_bat
vdc_init
vdc_load_data
vdc_load_tiles
vdc_sat_addr
vdc_sat_entry
vdc_set_bat_size
vdc_set_read
vdc_set_write
vdc_set_xres
vdc_xres_256
vdc_xres_320
vdc_xres_512
vdc_yres_224
vdc_yres_240
vgm_next_byte
vgm_setup
vgm_update
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.
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.
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.
Check if 2 axis aligned quads intersects.
Computes CRC-16 (CCITT).
Computes CRC-32.
Resets CRC-32 value.
Finalizes CRC-32 value.
Divide 2 unsigned bytes.
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.
Retrieves the directory entry long file name (if any).
Mount a FAT32 partition and opens its root directory.
Opens the file whose directory entry is pointed by
_si
for reading.
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.
Copies 512 bytes from the specified sector to the destination buffer.
Load default 1bpp 8x8 font.
Load 1bpp font to VRAM.
Set font address.
Set font palette.
Poll 6-buttons joypads state.
Poll joypads state.
Map data to mpr 3 and 4.
Load a portion of a 8x8 tilemap to VRAM.
Load a portion of a 16x16 tilemap to VRAM.
Defines the vertical bounds of the BAT map area.
Multiply 2 unsigned words.
Multiply 2 unsigned bytes.
Output a bcd number at the current BAT location.
Output an ASCII character at the current BAT location.
Output an unsigned decimal number at the current BAT location.
Output an unsigned decimal number at the current BAT location.
Output a decimal digit at the current BAT location.
Fill an area with a given character.
Output a hexadecimal digit at the current BAT location.
Output a hexadecimal number at the current BAT location.
Output a hexadecimal number at the current BAT location.
Display a null (0) terminated string in a textarea.
Display the n first characters of a string.
Display a null (0) terminated string.
Initialize PSG.
Generates 8-bit pseudo-random number.
Set pseudo-random number seed.
Update value of mpr 3 and 4 if needed.
Set scroll coordinates with the current scroll display list entry, and program the next hsync callback.
Set sprite control flag.
Hide sprite.
Set sprite palette index.
Set sprite pattern address in VRAM.
Set sprite priority.
Show sprite.
Copy the local sprite attribute table to VRAM.
Update sprite X coordinate.
Update sprite Y coordinate.
Restore values of mpr 3 and 4.
Set VCE dot clock, edge blur and background color.
Compute VRAM address for a given tile in BAT.
Set N words of VRAM to 0.
Set an area in BAT to a given tile and palette.
Initialize VDC.
Copy data to VRAM.
Load 8x8 tiles data to VRAM.
Set the VRAM address of the sprite attribute table.
Computes and set VRAM write address to SAT entry..
Set background map virtual size.
Set VDC VRAM read pointer.
Set VDC VRAM write pointer.
Set horizontal display resolution.
Set horizontal (x) resolution to 256 pixels.
Set horizontal (x) resolution to 320 pixels.
Set horizontal (x) resolution to 512 pixels.
Set vertical (y) resolution to 224 pixels.
Set vertical (y) resolution to 240 pixels.
Increment VGM data pointer.
Setup VGM player
Read VGM frame data.
©opyright 2016 distributed under the MIT license. · Last updated 2020/05/08 ·
Generated by Natural Docs
HuDK on Github
License
______________________________________________________________________
General
System variables
Memory copy
Memory mapping
Math routines
Interrupts management
Backup RAM
BCD conversion routines
8-bit macros
16-bit word macros
32-bit word macros
Random number generator
CRC computation
Clock
Memory mapping utility routines.
Collision detection routines
HuC compatibility macros and routines
Audio
VGM Replay
PSG - Programmable Sound Generator
Registers
Routines
Video
HuC6270 - Video Display Controller (VDC)
Description
I/
O Ports and Registers
Routines
HuC6260 - Video Color Encoder (VCE)
Description
I/
O ports
Routines
Font
8x8 monochrome 1bpp font
Font routines
Text output routines
Scroll area routines.
Tilemap routines
Sprites
Sprite routines
Sprite Attribute Table descprition and utilities
Sprite Attribute Table routines.
Controls
Joypad port
Joypad functions
Pachinko controller
Extras
FAT32 driver
Index
Everything
Files
Functions
Macros
Variables
Everything
Files
Functions
Macros
Variables
Close