Topic : TOS - das Betriebssystem
Author :
Version : tos.hyp (5. März 2013)
Subject : Programmieren/Atari
Nodes : 3001
Index Size : 93602
HCP-Version : 5
Compiled on : Atari
@charset : atarist
@lang :
@default : Titel
@help :
@options : +g -i -s +x +zz -t4
@width : 70
View Ref-File4.8.4 ct60_rw_parameter TOS Name: »ct60_rw_parameter« - Lesen oder Schreiben eines
Parameter im Flash Eprom.
Xbiosnummer: 50699 (0xc60b)
Deklaration: int32_t ct60_rw_parameter( int16_t mode, int32_t
type_param, int16_t value );
Beschreibung: Diese XBIOS Funktion liest oder schreibt einen
Parameter in das Flash Eprom. Die Funktion liefert den
Wert zurück.
mode CT60_MODE_READ (0)
Parameter lesen.
CT60_MODE_WRITE (1)
Parameter schreiben.
type_param CT60_PARAM_TOSRAM (0)
Ist der Wert von value 1, wird das TOS in
der Bootphase in das SDRAM kopiert (PMMU
wird benutzt und Cookie PMMU angelegt).
Ist der Wert von value 0, wird das TOS im
Flash Eprom benutzt.
CT60_BLITTER_SPEED (1)
Ist der Wert von value 0, läuft der
Blitter mit 8/10 MHz. Ist der Wert von
value 1, läuft der Blitter mit 16/20 MHz.
CT60_CACHE_DELAY (2)
If the bit 0 of the value is cleared, the
Pexec function is normal (flushes cache).
If the bit 0 of the value is set, the
caches are disabled for 5 seconds when a
program is started under TOS with the
Pexec function.
If the bit 1 of the value is set, there
are an Fread test and maybe a copyback
alert if the code begin by $601A. With
this alert you can remove the cache during
5 seconds.
If the bit 1 of the value is cleared,
there is no copyback alert.
CT60_BOOT_ORDER (3)
New boot Ist der Wert von value 0, dann bootet TOS
von SCSI Geräten (0-7) vor IDE Geräten
(0-1).
Ist der Wert von value 1, dann bootet TOS
von IDE Geräten (0-1) vor SCSI Geräten
(0-7).
Ist der Wert von value 2, dann bootet TOS
von SCSI Geräten (7-0) vor IDE Geräten
(1-0).
Ist der Wert von value 3, dann bootet TOS
von IDE Geräten (1-0) vor SCSI Geräten
(7-0).
Old boot If the value is set to 4, TOS boots from
SCSI drives (0-7) before IDE drives (0-1).
If the value is set to 5, TOS boots from
IDE drives (0-1) before SCSI drives (0-7).
If the value is set to 6, TOS boots from
SCSI drives (7-0) before IDE drives (1-0).
If the value is set to 7, TOS boots from
IDE drives (1-0) before SCSI drives (7-0).
CT60_CPU_FPU (4)
Ist das Bit 0 von value gelöscht, dann ist
die FPU abgeschaltet.
CT60_BOOT_LOG (5)
If the bit 0 is cleared, the stdout output
of the AUTO folder files is writed inside
a boot.log on the boot drive.
CT60_VMODE (6)
Boot extended modecode for CTPCI graphic
card: F030 modecode + extended bits:
HORFLAG 0x200 for double width
HORFLAG2 0x400 for width increased
VESA_600 0x800 for SVGA 600
VESA_768 0x1000 for SVGA 768
VERTFLAG2 0x2000 for double height
BPS32 5 for True Color
CT60_SAVE_NVRAM_1 (7)
CT60_SAVE_NVRAM_2 (8)
CT60_SAVE_NVRAM_3 (9)
Reserved for TOS NVM backup, do not use.
CT60_PARAM_OFFSET_TLV (10)
Der Wert value enthält einen
vorzeichenbehafteten Offset in Punkten.
Ein Punkt entspricht 2.8 °C.
CT60_ABE_CODE (11)
CT60_SDR_CODE (12)
Reserved for save ABE/SDR versions, do not
use.
CT60_CLOCK (13)
CTPCM boot clock frequency in KHz
(65000-110000)
WARNING, if you increase frequency !!!
CT60_PARAM_CTPCI (14)
If the bit 0 of the value is cleared, the
TOS boot on the native F030 IDE port.
If the bit 0 of the value is set, the TOS boot n the CTPCI IDE port who replaces the
F030 at the same address.
If the bit 1 of the value is cleared, the
VDI not use the CTPCI PLX DMA (slower for
vro_cpyfm).
If the bit 1 of the value is set, the VDI use the CTPCI PLX DMA (faster for
vro_cpyfm).
Ergebnis: Der Parameter oder:
EBADRQ (-5) wenn der Parameter >=15 ist.
EWRITF (-10) für einen Schreibfehler.
EUNDEV (-15) wenn das Flash nicht gefunden wurde.
Verfügbar: TOS 4.04 mit Patch für CT60 Beschleunigerboard.
Gruppe: CT60-XBIOS-Erweiterung Querverweis: Binding