HP85 GPIB Disk Emulator  1.0
HP85GPIBDiskEmulator
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ss80.h
Go to the documentation of this file.
1 
19 #ifndef _SS80_H_
20 #define _SS80_H_
21 
22 #include "gpib/defines.h"
23 
24 /* ss80.c */
25 void SS80_Test ( void );
26 void V2B_MSB_Index1 ( uint8_t *B , int index , int size , uint32_t val );
27 uint8_t *SS80ControllerPack ( int *size );
28 uint8_t *SS80UnitPack ( int *size );
29 uint8_t *SS80VolumePack ( int *size );
30 void SS80_init ( void );
31 int SS80_Execute_State ( void );
32 uint32_t SS80_Blocks_to_Bytes ( uint32_t block );
33 uint32_t SS80_Bytes_to_Blocks ( uint32_t bytes );
34 int SS80_locate_and_read ( void );
35 int SS80_locate_and_write ( void );
36 int SS80_test_extended_status ( uint8_t *p , int bit );
37 void SS80_set_extended_status ( uint8_t *p , int bit );
38 void SS80_display_extended_status ( uint8_t *p , char *message );
39 int SS80_send_status ( void );
40 int SS80_describe ( void );
41 void SS80_Check_Unit ( uint8_t unit );
42 void SS80_Check_Volume ( uint8_t volume );
43 int SS80_Command_State ( void );
44 int SS80_Transparent_State ( void );
45 int SS80_cmd_seek ( void );
46 int SS80_Report ( void );
47 void Clear_Common ( int u );
48 int SS80_Channel_Independent_Clear ( int u );
49 int SS80_Universal_Device_Clear ( void );
50 int SS80_Selected_Device_Clear ( int u );
51 int SS80_Amigo_Clear ( void );
52 int SS80_Cancel ( void );
53 int SS80_increment ( void );
54 int SS80_error_return ( void );
55 int SS80_COMMANDS ( uint8_t ch );
56 #endif // #ifndef _SS80_H_
SS80_locate_and_read
int SS80_locate_and_read(void)
SS80 Locate and Read COmmend.
Definition: ss80.c:374
SS80_Command_State
int SS80_Command_State(void)
Process OP Codes following 0x65 Command State.
Definition: ss80.c:1047
SS80_Channel_Independent_Clear
int SS80_Channel_Independent_Clear(int u)
Channel Independent Clear.
Definition: ss80.c:1775
SS80_Check_Unit
void SS80_Check_Unit(uint8_t unit)
Check unit number and assign.
Definition: ss80.c:977
V2B_MSB_Index1
void V2B_MSB_Index1(uint8_t *B, int index, int size, uint32_t val)
Initialize SS80 state and bus.
Definition: ss80.c:159
SS80_error_return
int SS80_error_return(void)
Common SS80 Error Return function. Send qstat = 1.
Definition: ss80.c:1898
SS80_Bytes_to_Blocks
uint32_t SS80_Bytes_to_Blocks(uint32_t bytes)
SS80 Return current block addresss from bytes.
Definition: ss80.c:353
SS80_Amigo_Clear
int SS80_Amigo_Clear(void)
Amigo Clear.
Definition: ss80.c:1831
SS80ControllerPack
uint8_t * SS80ControllerPack(int *size)
Pack Controller data into bytes.
Definition: ss80.c:169
SS80_display_extended_status
void SS80_display_extended_status(uint8_t *p, char *message)
SS80 Display extended 8 byte status messages for debuging.
Definition: ss80.c:714
SS80VolumePack
uint8_t * SS80VolumePack(int *size)
Pack Voulme data into bytes.
Definition: ss80.c:245
defines.h
GPIB, AMIGO, SS80 and device defines.
SS80_set_extended_status
void SS80_set_extended_status(uint8_t *p, int bit)
SS80 set extendend status bits.
Definition: ss80.c:700
SS80_Transparent_State
int SS80_Transparent_State(void)
(0x70 or 0x72) OP Code processing.
Definition: ss80.c:1442
Clear_Common
void Clear_Common(int u)
Universal and Decvice clear code.
Definition: ss80.c:1734
SS80_Test
void SS80_Test(void)
SS80 GPIB function.
Definition: ss80.c:123
SS80_Blocks_to_Bytes
uint32_t SS80_Blocks_to_Bytes(uint32_t block)
SS80 Return current address in bytes.
Definition: ss80.c:344
SS80_increment
int SS80_increment(void)
Increment position Addressy by one block.
Definition: ss80.c:1880
SS80_cmd_seek
int SS80_cmd_seek(void)
Limit tests for disk seek.
Definition: ss80.c:1593
SS80_Universal_Device_Clear
int SS80_Universal_Device_Clear(void)
Universal Device CLear.
Definition: ss80.c:1793
SS80_Cancel
int SS80_Cancel(void)
Cancel transaction.
Definition: ss80.c:1865
SS80_Check_Volume
void SS80_Check_Volume(uint8_t volume)
Check volume number and assign.
Definition: ss80.c:995
SS80_locate_and_write
int SS80_locate_and_write(void)
SS80 Locate and Write Commend.
Definition: ss80.c:506
SS80_Report
int SS80_Report(void)
send QSTAT
Definition: ss80.c:1641
SS80_Selected_Device_Clear
int SS80_Selected_Device_Clear(int u)
Selected Device Clear.
Definition: ss80.c:1811
SS80_init
void SS80_init(void)
SS80 nitialize all devices Initialize ALL SS80 devives.
Definition: ss80.c:275
SS80_describe
int SS80_describe(void)
Send Controler,Unit and Volume description.
Definition: ss80.c:929
SS80UnitPack
uint8_t * SS80UnitPack(int *size)
Pack Unit data into bytes.
Definition: ss80.c:198
SS80_COMMANDS
int SS80_COMMANDS(uint8_t ch)
SS80 COMMANDS States.
Definition: ss80.c:1929
SS80_send_status
int SS80_send_status(void)
SS80 send detailed status.
Definition: ss80.c:854
SS80_Execute_State
int SS80_Execute_State(void)
SS80 Execute state process.
Definition: ss80.c:306
SS80_test_extended_status
int SS80_test_extended_status(uint8_t *p, int bit)
SS80 test extendend status bits and display them.
Definition: ss80.c:683