Hard reset / Soft reset
Moderator: Moderators
Hard reset / Soft reset
What is the difference between doing a Soft Reset (SYS 64802) and a Hard Reset?
Maybe the register of VIA and VIC?
In VICE emulator you can load and execute moonpatrol, but only with a Hard Reset (ALT+R) not by call Reset by SYS 64802.
Other games doesn#t have this problem. Only Moonpatrol and Ms.Pacman.
Anyone solved this "problem"?
Maybe the register of VIA and VIC?
In VICE emulator you can load and execute moonpatrol, but only with a Hard Reset (ALT+R) not by call Reset by SYS 64802.
Other games doesn#t have this problem. Only Moonpatrol and Ms.Pacman.
Anyone solved this "problem"?
Re: Hard reset / Soft reset
In case of the VIC-20 under normal circumstances, hardly any. But imagine you have a 6522 connected to the expansion port. As the VIC-20 doesn't know of it existance, it won't (re)set its registers/ports after any type of reset. So if you prgram this 6522 to output a certain data pattern at its outputs, after a Soft Reset these patterns will still be there. But a Hard Reset will activate the Reset input of this 6522, the registers/ports will be reseted and the patterns will disappear.Diddl wrote:What is the difference between doing a Soft Reset (SYS 64802) and a Hard Reset?
Code: Select all
___
/ __|__
/ / |_/ Met vriendelijke groet, Ruud Baltissen
\ \__|_\
\___| URL: www.baltissen.org
Look here: click
I think this solve your problem. If not I will look in my "Reset code".
I think this solve your problem. If not I will look in my "Reset code".
Code: Select all
1 ONAGOTO4,5
2 DR=PEEK(186)
3 A=1:LOAD"MSPACMAN60",DR,1
4 A=2:LOAD"MSPACMANA0",DR,1
5 POKE37138,0:POKE37139,0:POKE37154,0:POKE37155,0:POKE37150,127:POKE37166,127:SYS64802
I tried the little program, I tried reset and sys64802 and button resets - no joy.
This is what I thought I could do but it does not work, I will try another file version maybe mine is bad.
I boot the FE3, press F7
poke 39938,128 - set ram mode
poke 39939,7 - set block 3 and 5
%defender-6000 - loads ok
%defender-a000 - locks up
reset - FE3 menu starts
This does work with Buck Rogers.
I also tried the above sequence up to loading and with the program.
Do I need to write protect the RAM after loading into it perhaps?
Oh and file browser won't load it either.
This is what I thought I could do but it does not work, I will try another file version maybe mine is bad.
I boot the FE3, press F7
poke 39938,128 - set ram mode
poke 39939,7 - set block 3 and 5
%defender-6000 - loads ok
%defender-a000 - locks up
reset - FE3 menu starts
This does work with Buck Rogers.
I also tried the above sequence up to loading and with the program.
Do I need to write protect the RAM after loading into it perhaps?
Oh and file browser won't load it either.
Vic20-Ian
The best things in life are Vic-20
Upgrade all new gadgets and mobiles to 3583 Bytes Free today! Ready
The best things in life are Vic-20
Upgrade all new gadgets and mobiles to 3583 Bytes Free today! Ready
No Defender start without write protecting. Use this loader file:
Code: Select all
20 "Defender"
21 +"defender-6",p
22 +"defender-a",p
23 +reset
25 :
Alternatively you can also do so
+ I boot the FE3, press F7
+ %defender-6000 - loads ok
+ %defender-a000 -
then you must kill FE3 wedge
+ KILL
+ poke 39938,128 - set ram mode
+ poke 39939,7 - set block 3 and 5
now VIC is ready to proceed DEFENDER
+ sys 64802 (or yellow reset button)
reset - FE3 menu starts
+ I boot the FE3, press F7
+ %defender-6000 - loads ok
+ %defender-a000 -
then you must kill FE3 wedge
+ KILL
+ poke 39938,128 - set ram mode
+ poke 39939,7 - set block 3 and 5
now VIC is ready to proceed DEFENDER
+ sys 64802 (or yellow reset button)
reset - FE3 menu starts
Sorry Diddl - it is not working for me in release 20.
Im only doing this to learn how to use the FE3 manually without loader scripts but something is not happening, I just get back to FE3 menu.
I tried your files on games1.d64, same result black screen or fe3 menu.
Ian
Im only doing this to learn how to use the FE3 manually without loader scripts but something is not happening, I just get back to FE3 menu.
I tried your files on games1.d64, same result black screen or fe3 menu.
Ian
Vic20-Ian
The best things in life are Vic-20
Upgrade all new gadgets and mobiles to 3583 Bytes Free today! Ready
The best things in life are Vic-20
Upgrade all new gadgets and mobiles to 3583 Bytes Free today! Ready
It all loads perfectly fine with diskloader.
I checked the loader script, it just loads the two parts as "Defender-6",P and "defender-A",P and does a reset.
When the script executes you see this plus another message about IO $80/$00 before reset. The game then automatically starts.
The script seems to manage all of this with no memory configuration or other settings unless Loader has some of these hidden away though I thought the BLK commands were for this purpose.
The reason I am interested is because I have done this previously with a $a000 Ram pack etc. I should therefore be able to do it manually with pokes as needed with FE3. I just want to figure out a bit more about the FE3 modes.
I checked the loader script, it just loads the two parts as "Defender-6",P and "defender-A",P and does a reset.
When the script executes you see this plus another message about IO $80/$00 before reset. The game then automatically starts.
The script seems to manage all of this with no memory configuration or other settings unless Loader has some of these hidden away though I thought the BLK commands were for this purpose.
The reason I am interested is because I have done this previously with a $a000 Ram pack etc. I should therefore be able to do it manually with pokes as needed with FE3. I just want to figure out a bit more about the FE3 modes.
Vic20-Ian
The best things in life are Vic-20
Upgrade all new gadgets and mobiles to 3583 Bytes Free today! Ready
The best things in life are Vic-20
Upgrade all new gadgets and mobiles to 3583 Bytes Free today! Ready