|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
#include <stdio.h>#include <stdint.h>#include <stdlib.h>#include <kos.h>#include <dc/video.h>#include <dc/biosfont.h>#include <dc/maple.h>#include <dc/maple/controller.h>#include <dc/g1ata.h>#include <dc/sd.h>#include <fat/fs_fat.h>#include <lftpd/lftpd.h>Macros | |
| #define | FTP_PORT 21 |
| #define | DHCP_WAIT_MS 5000 |
Functions | |
| KOS_INIT_FLAGS (INIT_DEFAULT|INIT_NET) | |
| static void | clean_exit (void) |
| int | main (int argc, char *argv[]) |
Variables | |
| static kos_blockdev_t | ide_bd |
| static kos_blockdev_t | sd_bd |
| #define DHCP_WAIT_MS 5000 |
Referenced by main().
| #define FTP_PORT 21 |
Referenced by main().
|
static |
References fs_fat_sync().
Referenced by main().
| KOS_INIT_FLAGS | ( | INIT_DEFAULT| | INIT_NET | ) |
| int main | ( | int | argc, |
| char * | argv[] ) |
References bfont_draw_str(), bfont_draw_str_fmt(), clean_exit(), cont_btn_callback(), CONT_START, DHCP_WAIT_MS, fs_fat_init(), fs_fat_mount(), FS_FAT_MOUNT_READWRITE, FTP_PORT, g1_ata_blockdev_for_partition(), g1_ata_init(), ide_bd, netif_t::ip_addr, net_default_dev, printf, sd_bd, sd_blockdev_for_partition(), sd_init(), thd_sleep(), vid_clear(), and vram_s.
|
static |
Referenced by main().
|
static |
Referenced by main().