How to read and interpret Apple //(e) monitor error codes like ...

9 posts / 0 new
Last post
tokabln's picture
Offline
Last seen: 4 months 2 days ago
Joined: Dec 30 2015 - 10:48
Posts: 253
How to read and interpret Apple //(e) monitor error codes like ...

"-0803 A=00 X=60 Y=00 P=34 S=F5" ?

Is there anyone able to explain or is there a describing document available anywhere?

Many thanks in advance

speedyG's picture
Offline
Last seen: 4 years 10 months ago
Joined: Nov 16 2011 - 07:45
Posts: 2493
Re: How to read and interpret Apple //(e) monitor error ...

..

Offline
Last seen: 8 hours 13 min ago
Joined: Jun 18 2010 - 13:54
Posts: 733
Re: How to read and interpret Apple //(e) monitor error ...

-0803 A=00 X=60 Y=00 P=34 S=F5" translates to:

BRK instruction ($00) encountered/executed at address $0803 with CPU register A (Accumulator), X, Y, P (Processor Status flag bits), and S (Stack pointer) values.

tokabln's picture
Offline
Last seen: 4 months 2 days ago
Joined: Dec 30 2015 - 10:48
Posts: 253
Re: How to read and interpret Apple //(e) monitor error ...

Many thanks...

so if such a message occurs during startup, I then should take a look into the ROM routines (here at adress 0803 - is this hex?) to see why this error probably happens, right?

Does anyone know where I can find a document describing the ROM content (commented disassembled ROM) covering the Apple //e ROMs?

Offline
Last seen: 1 week 1 hour ago
Joined: Aug 18 2017 - 16:53
Posts: 164
Re: How to read and interpret Apple //(e) monitor error ...


so if such a message occurs during startup, I then should take a look into the ROM routines (here at adress 0803 - is this hex?) to see why this error probably happens, right?

The RAMs are also suspicious. The stack uses RAM. Other causes of such faults can be line drivers (issue of timing).

Mentioned in another posting for download:
Apple_IIE_Technical_Reference_Manual.pdf
which includes ROM-Listings.

Regards, Ralf

Offline
Last seen: 8 hours 13 min ago
Joined: Jun 18 2010 - 13:54
Posts: 733
Re: How to read and interpret Apple //(e) monitor error ...

Many thanks...

so if such a message occurs during startup, I then should take a look into the ROM routines (here at adress 0803 - is this hex?) to see why this error probably happens, right?

No, address $0803 is in RAM and commonly used by programs and bootstrap loaders that start at location $0800. When you see the "error" display you mentioned it just means that a program has gone awry and tried to execute code at that location when its contents are probably not correct (possibly overridden by some other errant code). It COULD also indicate a hardware issue (most probably RAM) but more likely to be a software crash.

tokabln's picture
Offline
Last seen: 4 months 2 days ago
Joined: Dec 30 2015 - 10:48
Posts: 253
Re: How to read and interpret Apple //(e) monitor error ...

Ah... okay and understand. Many thanks for your explanation.

It now makes sense to me, because I'm using / testing a card that should act as boot device and at some circumstances this error occurs.

Dog Cow's picture
Offline
Last seen: 4 years 10 months ago
Joined: Dec 11 2008 - 16:26
Posts: 554
Re: How to read and interpret Apple //(e) monitor error ...

-0803 A=00 X=60 Y=00 P=34 S=F5" translates to:

BRK instruction ($00) encountered/executed at address $0803 with CPU register A (Accumulator), X, Y, P (Processor Status flag bits), and S (Stack pointer) values.


Minor point of clarification: the 6502 increments the PC after BRK, so the actual BRK occurred two or three bytes earlier than the address that the Monitor prints.

tokabln's picture
Offline
Last seen: 4 months 2 days ago
Joined: Dec 30 2015 - 10:48
Posts: 253
Re: How to read and interpret Apple //(e) monitor error ...

Ah... good to know. Many thanks.

Log in or register to post comments