You will not be able to post if you are still using Microsoft email addresses such as Hotmail etc
See here for more information viewtopic.php?f=20&t=7296
BOOKMARK THIS PAGE !
https://www.exxosforum.co.uk:8085/IP_CHECK/
You can unban yourself if needed. It also sends me reports to investigate the ban.
DO NOT USE MOBILE / CGNAT DEVICES WHERE THE IP CHANGES CONSTANTLY!
At this time, it is unfortunately not possible to whitelist users when your IP changes constantly.
You may inadvertently get banned because a previous attack may have used the IP you are now on.
So I suggest people only use fixed IP address devices until I can think of a solution for this problem!

Cold boot from software ?

News,announcements,programming,fixes,game patches & discussions.
User avatar
exxos
Site Admin
Site Admin
Posts: 28093
Joined: 16 Aug 2017 23:19
Location: UK

Cold boot from software ?

Post by exxos »

Anyone know how to do a cold boot from software ?
czietz
Posts: 578
Joined: 14 Jan 2018 13:02

Re: Cold boot from software ?

Post by czietz »

Clear memvalid and resvalid (https://freemint.github.io/tos.hyp/en/bios_main.html), jump to the beginning of TOS.
User avatar
exxos
Site Admin
Site Admin
Posts: 28093
Joined: 16 Aug 2017 23:19
Location: UK

Re: Cold boot from software ?

Post by exxos »

That seems to bring up the TOS206 RAM test each time now, so that seems to be working..

Though I am not really sure how to do the jump as this is from hisoft basic..

What I can do is call asm code, but I no idea about that, d.m.l wrote the asm stuff for me for GB6. Also "start of TOS" would depend on 206 or 104 being run ? so really needs to take that into account.

But if I know the hex codes for the instructions to run, I can poke those into RAM somewhere and call that location from hisoftbasic... but anyone know how to do this and give me the codes to poke ?
czietz
Posts: 578
Joined: 14 Jan 2018 13:02

Re: Cold boot from software ?

Post by czietz »

I have no idea what one can do or cannot do from Hisoft Basic. But you can simply call the beginning of TOS like you would call any assembler function. Don't worry about parameters passed on the stack; the stack will be reset anyway during cold-boot. Be sure to switch to supervisor mode first. (But, then again, you would not be able to clear memvalid and resvalid from user mode, anyway.)

To get correct address to call, read the longword from memory address $4.

Return to “SOFTWARE PROGRAMMING & DISCUSSION”

Who is online

Users browsing this forum: CCBot and 0 guests