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.

24 lines
392 B
C

//test_iox.c
#include <redbus.h>
#include <console.h>
#include <iox.h>
#include "test_iox.h"
#include <string.h>
#include "conio.c"
#define redbus 0x0300
#define IOXID 0x03
Iox* expand;
int* output;
void main() {
rb_set_window((void*)redbus);
rb_enable();
expand = (Iox*)redbus;
rb_map_device(IOXID);
expand->out = 0;
output = (int*)expand->in;
conprint("very Nice", 40, 25, 3);
}