You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
508 B
C

//test_iox.c
#include <redbus.h>
#include <console.h>
#include <iox.h>
#include "test_iox.h"
#include "conio.h"
#include <stdlib.h>
#include <sortron.h>
#define redbus 0x0300
#define IOXID 0x03
Iox* expand;
int* output;
void main() {
Sortron* sort = (Sortron*)redbus;
int status;
rb_set_window((void*)redbus);
rb_map_device(0x04);
rb_enable();
sort->slot = 1;
sort->quantity = 5;
sort->command = EJECT;
rb_map_device(conid);
conprint("f", 0, 5);
conprint(itoa(sizeof(long), 0, 10), 0, 0);
}