View Single Post
Old 8th Apr 2021, 1:59 am   #1418
ortek_service
Octode
 
ortek_service's Avatar
 
Join Date: May 2018
Location: Northampton, Northamptonshire, UK.
Posts: 1,440
Default Re: Non-working Commodore PET 3016

Quote:
Originally Posted by Slothie View Post
Being picky, it doesn't halt (not sure a 6502 can...) but its in an infinite loop:
Code:
INFINITE   JMP INFINITE
So the processor will just be fetching the jump instruction and its 2 byte argument continuously from the ROM.
Yes, I did mean that this firmware would appear to stop and wouldn't proceed any further - rather than the endless-loop jumping much further-back to re-attempt writing / reading of the RAM (So meaning those lines could be probed with 'scope etc).

As the 6502 uP lacks HALT (until Interrupt) instruction of the Z80 etc. (or any Sleep modes of more modern uC's).
ortek_service is offline