The possibility of porting chdrv into other machine is discussed in
The original chdrv is developed in Linux with a VGA screen. The system-
dependent part is mainly two sets. The first set is graphics functions.
These functions have been separated into file portable.c. You must render
a new init_console() function to initialize all your variable and the
mon_*() function. These function manifest itself by its name. If you
have any question about it, please contact me directly. I am grateful to
explain it to you.
The second set is support of console switching. I don't know much about
it. This part of code is in chdam.c. There is a function
ch_change_console(int) to help you to change its internal structure. This
should be the main effort you must do when you port chdrv.
The message above is very poor. If you have any question about porting
chdrv to other machines, please email me. I will help you with my best.