
	myLCD
v0.20.3 build 14052006

An LCD framebuffer library
   Michael McElligott
okio@users.sourceforge.net


myLCD has been developed and compiled with GCC 3.4, GCC 4.0,
cygwin (for the PSP) and mingw32 via a DevC++ install


Three platforms are supported:
Most Linux based distributions, MS Windows 2000/Xp and the Sony PlayStation Portable (PSP).


Note: When compiling the examples, demo.h should be updated with the pixel dimension of display.


------------

Win32:
Modify setpath.bat to point to your DevC++/mingw32 install

To build, use makefile.win passing port driver and display driver.
ie:
 'make -f makefile.win portdriver displaydriver install'

eg:
 "setpath.bat"
 "make -f makefile.win winio ks0108 install"

This will build a dynamic library file 'mylcd.dll' along with the import file 'libmylcd.a'
and the static library 'libmylcdstatic.a'


port driver targets are:
	winio	WinIO will be built in to the library, winio.sys required,
	opp	OpenParPort, no other external file required. MS Windows 2000 only
	dlp	DLPortIO driver, DLPortIO.dll required and installed.
	serial	Beta serial port driver.
	nullp	Build library with a null port driver

display targets are:
	ks0108	128x64 KS0108 based display driver
	pcd8544 Display driver for Nokia 3310,3210,8210,8250 and others
	sed1565 Driver untested but 'should' be ok
	ledcard Driver for the serially controlled 40x12 Chinese 'LED namecard'
	ddraw	DirectDraw virtual display
	sdl	SDL virtual display
	nulld	Build library with a null display driver

miscellaneous targets:
	all	make default target, currently TODO
	clean	removes all objects and targetfiles
	install	Copies mylcd.dll to the example dir. Modify to suit.

'libmylcd.a' should also be copied to your compilers /lib/ directory
----------



Linux:
'make -f Makefile.linux ks0108 install'
'make -f Makefile.linux sed1565 install'
'make -f Makefile.linux pcd8544 install'
'make -f Makefile.linux sdl install'
'make -f Makefile.linux null install' (doesn't actually display anything, can be used for debugging)

either will build the static library 'libmylcd.a'
copy 'libmylcd.a' to the /examples/ directory before using linux.sh to build the demos

'make -f Makefile.linux install' copies library to /usr/lib/ and fonts to /usr/share/mylcd/fonts/
'make -f Makefile.linux clean' removes fonts, character maps and the library.
----------



PSP:
'make -f makefile.psp clean'
'make -f makefile.psp install'


