-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fragments of flash.tos, flash.tos/tos and flash.tos/nonfree are kept as is.
- Loading branch information
Showing
334 changed files
with
164,711 additions
and
73,368 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
This ataboot is only for the F030/CT60 and the Videl. | ||
|
||
If the Radeon/CTPCI are used, it is possible to avoid that the kernel use | ||
the Videl, for example with bootargs : | ||
|
||
-V 0x4303 -k vmlinuz root=/dev/hda9 video=atafb:external:1920;1080;8;p;0x40000000 | ||
|
||
0x4303 is the modecode for the Radeon driver (Vsetscreen) used inside Ataboot. | ||
external is here for the send infos to the kernel (0x40000000 isthe | ||
screen address, 'p' for packed pixels, 't' for true color). | ||
|
||
In this case you must also select Linux boot with CT60CONF.CPX for use | ||
the internal ataboot (else Videl is used). | ||
For capture the hex value of a modecode you can uuse VIDEOCNF.CPX with | ||
a double-click inside the list of screens. | ||
|
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
WARNING ! | ||
MAGXBOOT.PRG add a patch for boot on IDE slave if boot order setting | ||
with the CT60CONF.CPX select IDE1 before IDE0. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
SPDGDOS.PRG disable the caches, start the original C:\GDOS\SPDGDOS.PRG, | ||
and enable the caches |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
PROC_TYPE EQU $59E | ||
_COOKIE EQU $5A0 | ||
|
||
ILABEL TOS.Q | ||
|
||
DEBUT: | ||
|
||
MOVE.L 4(SP),A5;d‚but de la basepage | ||
MOVE.L $C(A5),D0;taille segment TEXT | ||
ADD.L $14(A5),D0;taille segment DATA | ||
ADD.L $1C(A5),D0;taille segment BSS | ||
ADD.L #1800,D0;pour la pile et la basepage | ||
AND.B #$FE,D0 | ||
LEA -104(A5,D0.L),SP | ||
SETBLOCK D0,(A5) | ||
MOVE.L #"_CPU",D0 | ||
BSR GET_COOKIE | ||
BMI \1;pas de cookie-jar | ||
MOVE.L D0,A0 | ||
CMP.L #60,(A0) | ||
BNE \1 | ||
SUPEXEC CACHE_OFF | ||
EXEC ENV,COM,NOM,#0 | ||
SUPEXEC CACHE_ON | ||
TERM | ||
\1:EXEC ENV,COM,NOM,#0 | ||
TERM | ||
ILLEGAL | ||
RTS | ||
|
||
CACHE_OFF: | ||
|
||
MOVE SR,-(SP) | ||
OR #$700,SR;masque IRQ | ||
MOVEQ #0,D0;inhibe & vide caches | ||
DC.L $4E7B0002;MOVEC.L D0,CACR | ||
DC.W $F4F8;CPUSHA BC | ||
MOVE (SP)+,SR | ||
RTS | ||
|
||
CACHE_ON: | ||
|
||
MOVE SR,-(SP) | ||
OR #$700,SR;masque IRQ | ||
DC.W $F4F8;CPUSHA BC | ||
MOVE.L #$A0C08000,D0;68060 | ||
; B31:EDC Enable Data Cache | ||
; B29:ESB Enable Store Buffer | ||
; B23:EBC Enable Branch Cache | ||
; B22:CABC Clear All Entries Branch Cache | ||
; B15:EIC Enable Instruction Cache | ||
DC.L $4E7B0002;MOVEC.L D0,CACR | ||
MOVE (SP)+,SR | ||
RTS | ||
|
||
GET_COOKIE:;nom dans D0.L, au retour si < 0 pas de cookie | ||
;retourne le pointeur sur donn‚e cookie dans D0 | ||
|
||
MOVEM.L D1-A1/A6,-(SP) | ||
MOVE.L D0,D6 | ||
SUB.L A6,A6 | ||
SUPER 1 | ||
TST.L D0 | ||
BMI.S \5;mode superviseur | ||
SUPER 0 | ||
MOVE.L D0,A6;sauve SSP | ||
\5:MOVEQ #0,D7 | ||
MOVE.L _COOKIE,D0 | ||
BEQ.S \1 | ||
MOVE.L D0,A0 | ||
\2:TST.L (A0) | ||
BEQ.S \1 | ||
CMP.L (A0),D6 | ||
BNE.S \3 | ||
MOVE.L A0,D7 | ||
ADDQ #4,D7 | ||
BRA.S \1 | ||
\3:ADDQ #8,A0 | ||
BRA.S \2 | ||
\1:MOVE.L A6,D0 | ||
BEQ.S \4 | ||
SUPER (A6) | ||
\4:MOVEQ #-1,D6 | ||
MOVE.L D7,D0 | ||
BEQ.S \6 | ||
MOVEQ #0,D6 | ||
\6:TST D6 | ||
MOVEM.L (SP)+,D1-A1/A6 | ||
RTS | ||
|
||
DATA | ||
|
||
ALIGN | ||
|
||
NOM:DC.B "C:\GDOS\SPDGDOS.PRG",0 | ||
ALIGN | ||
COM:DC.B 0 | ||
ENV:DC.B 0 | ||
|
||
END | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* Indice du ressource pour CHGRES */ | ||
|
||
#define CHOIXVIDEO 0 /* Formulaire/Dialogue */ | ||
#define BOXRES 0 /* BOX dans l'arbre CHOIXVIDEO */ | ||
#define BICONERES 1 /* USERDEF dans l'arbre CHOIXVIDEO */ | ||
#define COUL 3 /* BUTTON dans l'arbre CHOIXVIDEO */ | ||
#define RES1 5 /* TEXT dans l'arbre CHOIXVIDEO */ | ||
#define RES2 6 /* TEXT dans l'arbre CHOIXVIDEO */ | ||
#define RES3 7 /* TEXT dans l'arbre CHOIXVIDEO */ | ||
#define RES4 8 /* TEXT dans l'arbre CHOIXVIDEO */ | ||
#define RES5 9 /* TEXT dans l'arbre CHOIXVIDEO */ | ||
#define RES6 10 /* TEXT dans l'arbre CHOIXVIDEO */ | ||
#define RES7 11 /* TEXT dans l'arbre CHOIXVIDEO */ | ||
#define RES8 12 /* TEXT dans l'arbre CHOIXVIDEO */ | ||
#define RES9 13 /* TEXT dans l'arbre CHOIXVIDEO */ | ||
#define RES10 14 /* TEXT dans l'arbre CHOIXVIDEO */ | ||
#define BHAUT 15 /* BOXCHAR dans l'arbre CHOIXVIDEO */ | ||
#define SLIDER 16 /* BOX dans l'arbre CHOIXVIDEO */ | ||
#define BSLIDER 17 /* BOX dans l'arbre CHOIXVIDEO */ | ||
#define BBAS 18 /* BOXCHAR dans l'arbre CHOIXVIDEO */ | ||
#define BSAUVER 19 /* BUTTON dans l'arbre CHOIXVIDEO */ | ||
#define BOK 20 /* BUTTON dans l'arbre CHOIXVIDEO */ | ||
#define BABANDON 21 /* BUTTON dans l'arbre CHOIXVIDEO */ | ||
#define INFORES 22 /* TEXT dans l'arbre CHOIXVIDEO */ | ||
#define BTEST 23 /* BUTTON dans l'arbre CHOIXVIDEO */ | ||
|
||
#define CHAINE1 0 /* Chaine libre */ |
Binary file not shown.
Oops, something went wrong.