![]() |
![]() |
#1 |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 249
|
Force non-zero VBR for testing
I'd like to test my system shutdown/restore code works with 68010+ processors with non-zero VBR.
Under what configurations does non-zero VBR occur? Would it occur on stock A1200 or only with extra hardware added or if the OS is running a VM? Is there a convenient way of getting the system into a legitimate non-zero VBR state for testing (in WinUAE)? Thanks for any insight. |
![]() |
![]() |
#2 |
Registered User
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
|
You can use the vbrmove tool for this and it will move it.
http://aminet.net/package/util/boot/vbrmov23 Pretty sure its that one I used. |
![]() |
![]() |
#3 |
Registered User
Join Date: Jun 2016
Location: europe
Posts: 1,065
|
setpatch (e.g. in startup-sequence), or any additional cpu libraries (typically for 040/060) will move it to fast ram if available, otherwise it remains at zero as far as I know.
To mess with vbr and icache/dcache I use cpucontrol (should be on aminet). |
![]() |
![]() |
#4 |
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,315
|
Not by default, or at least not mine. The issue is that some programs react allergic if the VBR is moved. But you can do so by MuFastZero:
Code:
MuFastZero MoveVBR |
![]() |
![]() |
#5 |
Amigan
![]() Join Date: Feb 2012
Location: London
Posts: 1,317
|
Sometimes the vector table (first 4K or so?) is mapped into fast ram by the MMU and VBR remains zero.
|
![]() |
![]() |
#6 |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 249
|
Thanks. I'll try these out. I have always wondered what setpatch does!
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Switch off / revert back VBR Move to fast | alexh | support.AmigaOS | 9 | 05 September 2021 21:21 |
CacheControl and VBR from bootblock | h0ffman | Coders. Asm / Hardware | 11 | 26 May 2021 17:57 |
quit key on 68000 (non-vbr) systems | Yulquen74 | project.WHDLoad | 5 | 04 March 2016 18:01 |
Error in game VBR detected... | franeti | project.WHDLoad | 1 | 22 April 2015 23:43 |
Need Help for testing | Lord Riton | Retrogaming General Discussion | 19 | 06 April 2011 05:45 |
|
|