Documents et infos relatifs au kit BJL

o Fonctionnement du "Loader/chargeur" LO du BJL :

Voici l'interface "dos" du loader de fichiers pour Atari Jaguar

Pour les non-anglophones je vais résumer les différentes options

que l'on peut appliquer au loader :

-s : cette option ne sera pas utilisée dans notre cas ,

elle saute aux nombres de bits indiqués

-w : "w" comme "wait" c'est à dire attendre , afin de synchroniser tous les périphériques

en mode Windows XP cette option est indispensable , on met -w 4

-b : la "baseaddress" c'est l'adresse de chargement dans la mémoire (SRAM) de la Jaguar

dans la plupart des demos sur Jaguar c'est $4000 , mais attention à bien le vérifier.

-p : c'est l'option pour définir l'adresse du port imprimante du PC. les fichiers "BAT"

qui lancent les démos sont configurer avec le port 0x378 par défaut

-4} ou -8} c'est le format de transmission en bit , donc soit 4 ou 8 bit,

la plupart des PCs actuels utilisent le mode 8 bit, les fichiers "BAT" du CD sont configurés

en 8 bit !


o Exemple suivant les configurations :

Pour lancer les demos depuis Windows XP on a besoin d'écrire une ligne de commande avec

2 logiciels :

- le loader "LO"

- Allowio qui ouvre le port LPT / parallèle

allowio lo -b $4000 -w 4 -n -8} JDCDemoV3(2000).jag 0x378

Pour les demos lancer sous Windows 98 , seul le loader suffit :

lo -b $4000 -n -8} JDCDemoV3(2000).jag

Quand vous utilisez une rom BJL au lieu de Protector SE il faut supprimer l'option -n

o C'est quoi un fichier "Bat" ?

 

"Bat" est le diminutif de "batch" qui signifie "lot" en français , ces fichiers que l'on voit

sous DOS permettent d'éxécuter séquenciellement les commandes qui s'y trouvent

( commandes internes, commandes externes et programmes ). Ils ne contiennent que du texte.


Les "erreurs code" BJL ( merci à Richard "JustClaws) :

ID=01 Bus Error This means the Jaguar tried to access memory that doesn't exist.
You can get this error on almost any Macintosh. If one of these computers tried to access one or more bytes beyond the total number of bytes in RAM,
you see a bus error. *** Of course a 68000 only supports a 24-bit address bus, where the address registers are 32-bit, hence the error.
This need not occur on a 68010/20 with virtual memory.

ID=02 Address Error The Motorola 68000 microprocessor can access memory in increments of one byte (8 bits),
one word (16 bits), or one long word (32 bits). The microprocessor can access a byte of information at an odd or even memory address.
But it must access a word or long word at an even memory address.
So, when the microprocessor attempts to read or write a word or long word at an odd address, you see this error.
Since that's a 50/50 proposition when running random code, this one shows up quite often.

ID=03 Illegal Instruction The computer has a specific vocabulary of machine language instructions it can understand.
If a computer tries to execute an instruction that isn't in its vocabulary, you see this error code.
It's less likely than error 02, but still very common.
*** On the Jaguar, programs written for the Alpine or BJL may well end with "ILLEGAL" as an instruction because
the ROM traps this instructions and on the Alpine returns the program to the debugger,
on BJL displays the usual loading screen with a complete, useful dump of all the registers.

ID=04 Zero Divide Error This error results if the microprocessor divides two numbers,
and the divisor is zero.
Sometimes a programmer puts these in as debugging aids, and then forgets to take them out.

ID=05 Range Check Error Programmers can use an instruction in the Motorola 68000 to check if a number is within a certain range.
This error indicates that the number tested isn't in the specified range.

ID=06 Overflow Error Each number stored in a computer is given a certain amount of space.
The larger the number, the more space is needed to represent the number. An overflow condition results if
a generated number is too big for its allotted space.
A Motorola 68000 instruction tests for an overflow condition, and displays this error if it detects an overflow.

ID=07 Privilege Violation The Motorola 68000 runs in Supervisor or User mode.
The Jaguar should always be in Supervisor mode, but sometimes is placed in User mode.
Some of the instructions can only be executed in Supervisor mode.
If the computer attempts one of these instructions while in User mode, a Privilege Violation error results.

ID=08 Trace Mode Error A programmer can use a runtime debugger while in Trace mode.
This allows tracing through a program one instruction at a time.
You see this error if a debugger isn't installed and the 68000 is accidentally placed in Trace mode.


La liste des demos fonctionnants avec le kit BJL


REMERCIEMENTS :

Je tiens ŕ remercier pour leur aide précieuse : CTS, Vince, GT Turbo et JustClaws.