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.

26 lines
405 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("aeiou", 0, 0);
set_cursor_pos(5,5);
}