From: cuz Date: Mon, 11 Apr 2005 18:55:37 +0000 (+0000) Subject: Lynx doc update by Karri Kaksonen X-Git-Tag: V2.12.0~386 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=361bfdde2d74b038bf46ccb91f21186c9a9ae4c5;p=cc65 Lynx doc update by Karri Kaksonen git-svn-id: svn://svn.cc65.org/cc65/trunk@3455 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/doc/lynx.sgml b/doc/lynx.sgml index 4964c08c3..e7c8f01cb 100644 --- a/doc/lynx.sgml +++ b/doc/lynx.sgml @@ -37,6 +37,11 @@ is a machine language program with an executable header. It is of course possible to change this behaviour by using a modified startup file and linker config. +You can also produce real carts with directory structures and encrypted +headers by modifying the startup and linker config files. There is a simple +example archive called +that shows how to create a complete bootable Lynx cart. Memory layout

@@ -48,7 +53,14 @@ Special locations: for information on how to do that. +The TGI driver is implemented as a dual buffering device. To use it as a +single-buffer device set draw page and view page to the same value 0 or 1; + +The TGI driver has a few Lynx-specific extensions. + +Calling tgi_ioctl(0, spr) will display a standard Lynx sprite on screen. + +Calling tgi_ioctl(1, 0) will do a flip screen. If you decide to flip the +screen then it may be a good idea to call the install-routine for the +joystick to get that flipped too. + +Calling tgi_ioctl(2, bgindex) will set the text background color to the index +defined by bgindex. If bgindex is 0 then the background color is transparent. Extended memory drivers

@@ -121,6 +146,8 @@ statically linked, because no file I/O is available. See the documentation for the for information on how to do that. +The joystick will check to see if the screen is flipped or not in the install +routine and adapt itself to the currect state. Mouse drivers

@@ -139,6 +166,15 @@ No serial drivers are currently available for the Lynx. Other hints

+At this point in time there is no support for the cart filesystem yet. +I have a cart_template example project that uses an interrupt driven +display, has support for the cart filesystem and an abcmusic sound +module. + +At some point in time we may find a way to rewrite these to fit the +way the cc65 drivers require. But for the time being you can create +less portable applications using these Lynx specific modules in +cart_template. Bugs/Feedback