Hardware > Hardware (Classic 16-/32-Bit)
Mega ST2
HamSTer:
Profibuch Seite 52
--- Zitat ---LONG$018 24 CHK-Befehl
Exception-Vektor 6
Es wurde eine Exception durch einen "CHKH -Befehl erzeugt.
--- Ende Zitat ---
CHK Prüfe Register auf Grenzen
--- Code: ---CHK <ea> , Dn
--- Ende Code ---
--- Zitat ---The CHK instruction (16 or 32 bit values) is used to determine whether the integer value stored in the data register given as the second operand lies between 0 and the two's complement value (inclusive) specified by the effective address in the first operand. If the data register value is outside of this range, then a CHK exception occurs and corresponding exception handling routine (pointed to by vector number 6) is executed. Examples of this instruction are:
CHK.B UPPER_LIM,D7 /* memory location UPPER_LIM contains the limit */
CHK.W D3,D4 /* D3 contains the limit */
CHK.B (A3),D5 /* A3 points to the memory location containing the limit */
The CHK2 instruction (8, 16 or 32 bit values) is used to determine whether the integer value stored in the data or address register given as the second operand lies inclusively between the packed lower and upper limits specified by the effective address in the first operand. If the register is an address register and the data size is either 8 or 16 bits, then the bounds are sign-extended to 32 bits and then compared to the full 32 bits in the address register. If the register value is outside of range, then a CHK exception (also vector 6) occurs and corresponding exception handling routine is executed. An example of this instruction is:
CHK2.B TWO_LIMITS,D7 /* TWO_LIMITS contains lower & upper limits */
CHK2.W D3,A4 /* the full 32 bits of A4 are used */
CHK2.L (A3),D5
--- Ende Zitat ---
neualtuser:
moin
So ein ähnliches Problem wie Burkhard hatte ich auch schon, habe die kiste vor Wut an die Wand geschmissen.
Ich möchte jetzt nicht Unhöflich sein, aber...
Das Profibuch-Zitat kann ich ja noch nachvollziehen, das Tolle englische Zitat ??? ?? <--- reicht das fürs verstehen?
Genau deshalb lese ich in einem deutschem Forum.
eigentlich müsste ich mich nicht NAU nennen sondern eher DAU, und was das heisst wissen wohl alle :D
macht ja nichts, bin ja jung(Ü50) kann und will gerne dazulernen
spass noch
Burkhard Mankel:
Tja - ganz so Wütig habe ich erstmal nicht vor vorzugehen. dem Probbi wird man doch sicher Herr werden können. Ich habe noch ein paar kleinere ST, von denen ich zB Shifter oder GLUE zum Test des Video heranziehen kann - aber das werde ich erst nach erfolgreicher Eliminierung des "six-bombs-trouble" probieren! Wer sich nochmal für die alten eBay-Bilder interessiert:
KLICK MICH !!!
mfro:
Die Ursache muß nicht unbedingt ein CHK-Befehl sein. Im TOS jedenfalls dürfte m.E. kein CHK-Befehl zu finden sein.
Gerade bei Hardwarefehlern funktionieren manchmal die "Bombenanzeigeroutinen" im TOS nicht mehr wirklich richtig, weil während bzw. nach der Anzeige noch ein weiterer Fehler auftritt oder einfach der Prozessor einen Schuß hat. Dann kann es durchaus sein, daß 6 Bomben auch 3 x 2 oder vielleicht noch eher 2 + 4 Bomben oder auch überhaupt nichts bedeuten.
Da ist die Diagnose-Cartridge dann doch das bessere Werkzeug.
HamSTer:
tut mir leid mit dem englischen zitat. ich hatte leider kein passendes in deutsch gefunden. aber neualtuser kann ja dann ein passendes nachreichen. ;)
ich wollte nur aufzeigen, was bei chk passiert und da kam mir der text in die quere. sorry nochmal :-*
Navigation
[0] Themen-Index
[#] Nächste Seite
[*] Vorherige Sete
Zur normalen Ansicht wechseln