From f519c43a74e25d44e1fc7fe9a13e0b80fa4f8039 Mon Sep 17 00:00:00 2001 From: cpg Date: Sun, 20 Feb 2005 21:02:33 +0000 Subject: [PATCH] add DIO section git-svn-id: svn://svn.cc65.org/cc65/trunk@3398 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- doc/atari.sgml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/doc/atari.sgml b/doc/atari.sgml index bd141527e..cc5bf26f9 100644 --- a/doc/atari.sgml +++ b/doc/atari.sgml @@ -185,6 +185,15 @@ platform. There is a static driver you can use. Limitations

+DIO implementation

+ +The Atari supports disk drives with either 128 or 256 byte sectors. +The first three sectors of any disk are always 128 bytes long though. This is +because the system can only boot from 128 bytes sectors. + +Therefore the DIO read and write functions transfer only 128 bytes +for sectors 1 to 3, regardless of the type of diskette. + Other hints

@@ -192,7 +201,7 @@ platform. There is a static driver you can use. These are defined to be Atari + number key. -Reserving a memory area inside the program

+Reserving a memory area inside a program

The Atari 130XE maps its additional memory into CPU memory in 16K chunks at address $4000 to $7FFF. One might want to @@ -226,10 +235,10 @@ header must be discarded. It will be replaced by a user created one.

The user needs to create a customized linker config file which adds -new memory areas and segments to hold the new EXE header and added -load chunk header data. Also an assembly source file needs to be -created which defines the contents of the new EXE header and the -second load chunk header. +new memory areas and segments to hold the new EXE header and the +header data for the second load chunk. Also an assembly source file +needs to be created which defines the contents of the new EXE header +and the second load chunk header.

This is a modified cc65 Atari linker configuration file (split.cfg): -- 2.39.5