Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Macros | Functions
f011_core.c File Reference
#include "xemu/emutools.h"
#include "xemu/f011_core.h"
#include "xemu/cpu65.h"
Include dependency graph for f011_core.c:

Go to the source code of this file.

Macros

#define FDC_PRIVATE_HEAD_SIDE
 
#define FDC_PRIVATE_HEAD_TRACK
 
#define FDC_PRIVATE_STATUS_A
 
#define FDC_PRIVATE_STATUS_B
 
#define DRV_STATUS_A(drv_no)   drives[drv_no].status_a_storage
 
#define DRV_STATUS_B(drv_no)   drives[drv_no].status_b_storage
 
#define DRV_HEAD_SIDE(drv_no)   drives[drv_no].head_side_storage
 
#define DRV_HEAD_TRACK(drv_no)   drives[drv_no].head_track_storage
 

Functions

void fdc_init (Uint8 *cache_set)
 
int fdc_get_buffer_disk_address (void)
 
int fdc_get_buffer_cpu_address (void)
 
int fdc_get_status_a (const int which)
 
int fdc_get_status_b (const int which)
 
int fdc_get_led_state (int blink_inc)
 
void fdc_allow_disk_access (int in)
 
void fdc_set_disk (int which, int in_have_disk, int in_have_write)
 
void fdc_write_reg (int addr, Uint8 data)
 
Uint8 fdc_read_reg (int addr)
 

Macro Definition Documentation

◆ DRV_HEAD_SIDE

#define DRV_HEAD_SIDE (   drv_no)    drives[drv_no].head_side_storage

Definition at line 95 of file f011_core.c.

◆ DRV_HEAD_TRACK

#define DRV_HEAD_TRACK (   drv_no)    drives[drv_no].head_track_storage

Definition at line 101 of file f011_core.c.

◆ DRV_STATUS_A

#define DRV_STATUS_A (   drv_no)    drives[drv_no].status_a_storage

Definition at line 83 of file f011_core.c.

◆ DRV_STATUS_B

#define DRV_STATUS_B (   drv_no)    drives[drv_no].status_b_storage

Definition at line 89 of file f011_core.c.

◆ FDC_PRIVATE_HEAD_SIDE

#define FDC_PRIVATE_HEAD_SIDE

Definition at line 35 of file f011_core.c.

◆ FDC_PRIVATE_HEAD_TRACK

#define FDC_PRIVATE_HEAD_TRACK

Definition at line 36 of file f011_core.c.

◆ FDC_PRIVATE_STATUS_A

#define FDC_PRIVATE_STATUS_A

Definition at line 37 of file f011_core.c.

◆ FDC_PRIVATE_STATUS_B

#define FDC_PRIVATE_STATUS_B

Definition at line 38 of file f011_core.c.

Function Documentation

◆ fdc_allow_disk_access()

void fdc_allow_disk_access ( int  in)

Definition at line 171 of file f011_core.c.

Here is the caller graph for this function:

◆ fdc_get_buffer_cpu_address()

int fdc_get_buffer_cpu_address ( void  )

Definition at line 143 of file f011_core.c.

◆ fdc_get_buffer_disk_address()

int fdc_get_buffer_disk_address ( void  )

Definition at line 137 of file f011_core.c.

◆ fdc_get_led_state()

int fdc_get_led_state ( int  blink_inc)

Definition at line 161 of file f011_core.c.

◆ fdc_get_status_a()

int fdc_get_status_a ( const int  which)

Definition at line 149 of file f011_core.c.

◆ fdc_get_status_b()

int fdc_get_status_b ( const int  which)

Definition at line 155 of file f011_core.c.

◆ fdc_init()

void fdc_init ( Uint8 cache_set)

Definition at line 110 of file f011_core.c.

◆ fdc_read_reg()

Uint8 fdc_read_reg ( int  addr)

Definition at line 472 of file f011_core.c.

Here is the caller graph for this function:

◆ fdc_set_disk()

void fdc_set_disk ( int  which,
int  in_have_disk,
int  in_have_write 
)

Definition at line 177 of file f011_core.c.

◆ fdc_write_reg()

void fdc_write_reg ( int  addr,
Uint8  data 
)

Definition at line 277 of file f011_core.c.

Here is the caller graph for this function:

Variable Documentation

◆ have_disk

int have_disk

Definition at line 67 of file f011_core.c.

◆ have_write

int have_write

Definition at line 67 of file f011_core.c.

◆ head_side_storage

int head_side_storage

Definition at line 78 of file f011_core.c.

◆ head_track_storage

Uint8 head_track_storage

Definition at line 75 of file f011_core.c.

◆ status_a_storage

Uint8 status_a_storage

Definition at line 69 of file f011_core.c.

◆ status_b_storage

Uint8 status_b_storage

Definition at line 72 of file f011_core.c.