File: PORTABLE.DOC

package info (click to toggle)
chdrv 1.0.13-0.1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,204 kB
  • ctags: 1,069
  • sloc: ansic: 8,972; perl: 412; asm: 234; makefile: 195; sh: 36
file content (20 lines) | stat: -rw-r--r-- 987 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
The possibility of porting chdrv into other machine is discussed in
this document.

System dependency
=================
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.