English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 27 December 2007, 17:06   #1
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
ROM resident HRTMon

(continued from http://eab.abime.net/showthread.php?t=33856)

My (possibly pointless) HRTMon resident rom module works (at least in emulation, real Amiga test "later")

Used Remus to create 256k 0xf00000 extended rom with my hrtmon module only (50k). Decompression and relocation takes about 4 seconds (A500 CE-mode) Level 7 interrupt activates hrtmon as expected.

Todo:
- "emulate" MEMF_REVERSE flag on KS 1.x (done)
- only enable if some fast ram or >0.5M chip ram available? (done)
- disable feature needed? (press mouse or joystick or something during boot?)

I'll post sources soon..

Last edited by Toni Wilen; 27 December 2007 at 22:18. Reason: todo updated
Toni Wilen is offline  
Old 28 December 2007, 00:54   #2
spoUP
Registered User
 
Join Date: Dec 2002
Location: sweden
Age: 46
Posts: 430
O_O this is fantastic news!
I was talking with Stingray about making HRTMon a part of our custom Up Rough kickstart 2 days ago! Wicked. Is this a coincidence?
spoUP is offline  
Old 28 December 2007, 08:32   #3
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
I "only" wanted something to fill my CDTV's 1M EPROM. (and semi-hackish 68k coding is still fun!)

This is not my only stupid/crazy idea: I was thinking about compressing some ROM residents (or alternately make ROM image with exec only + one resident that decompress the rest of ROM to RAM..) to get more ROM space..

Unfortunately it is quite pointless (I like pointless stuff..) because it will make booting painfully slow and needs lots of RAM.. (with 68020+ and Fast RAM it could work but why?)

at least 'ROM' HRTMon can be useful..
Toni Wilen is offline  
Old 28 December 2007, 22:52   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Source attached. Useless but fun or something..
Attached Files
File Type: zip hrtmodule.zip (3.9 KB, 438 views)
Toni Wilen is offline  
Old 29 December 2007, 00:33   #5
spoUP
Registered User
 
Join Date: Dec 2002
Location: sweden
Age: 46
Posts: 430
Wow! Thanks thanks thanks!
Please make more useless kickstart hacks!
This is so cool!

We've made a cool bootlogo, and a bootmenu is in the design phase.

Some kind of gfx/music ripper would be cool. =)
spoUP is offline  
Old 30 December 2007, 23:46   #6
spoUP
Registered User
 
Join Date: Dec 2002
Location: sweden
Age: 46
Posts: 430
a blizkick module to add copper bars to the early startup screen like copper-deamon does for the WB would kick ass too!
spoUP is offline  
Old 31 December 2007, 01:35   #7
spoUP
Registered User
 
Join Date: Dec 2002
Location: sweden
Age: 46
Posts: 430
also, having copy/dir etc on the rom would be supa!
spoUP is offline  
Old 01 January 2008, 21:11   #8
spoUP
Registered User
 
Join Date: Dec 2002
Location: sweden
Age: 46
Posts: 430
BTW... this new source, i need the datafile from hrtmon 2.30 to assemble it?
where do i get that?
spoUP is offline  
Old 01 January 2008, 22:24   #9
musashi5150
move.w #$4489,$dff07e
 
musashi5150's Avatar
 
Join Date: Sep 2005
Location: Norfolk, UK
Age: 42
Posts: 2,351
Right here: http://www.whdload.de/whdload/Tools/hrtmon230.lha
musashi5150 is offline  
Old 03 January 2008, 04:00   #10
spoUP
Registered User
 
Join Date: Dec 2002
Location: sweden
Age: 46
Posts: 430
thanx!
spoUP is offline  
Old 04 January 2008, 19:15   #11
spoUP
Registered User
 
Join Date: Dec 2002
Location: sweden
Age: 46
Posts: 430
This hrtmon hack works great in UAE with a 1mb rom i've made that has this HRTMon version included.
I can activate it via an emulated level 7 interrupt at any time.
But when I made a 512k rom with hrtmon included and blizkicked it into my a1200 and used my level 7 button I can only seem to enter HRTmon when an WHDload app is running?
Isn't it supposed to be accessible all the time?
spoUP is offline  
Old 04 January 2008, 21:43   #12
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Different setups most likely. Your real Amiga setup most likely have some patch (perhaps even 680x0.library) that moves VBR and also resets level 7 vector.

Does it work if you boot without startup-sequence?
Toni Wilen is offline  
Old 06 January 2008, 17:46   #13
spoUP
Registered User
 
Join Date: Dec 2002
Location: sweden
Age: 46
Posts: 430
i just tested to boot without startup-sequence, and still no go..
it's equipped with a 060... and i am using pirus exec in my rom. i've removed all blizkick patches.
spoUP is offline  
Old 06 January 2008, 17:54   #14
spoUP
Registered User
 
Join Date: Dec 2002
Location: sweden
Age: 46
Posts: 430
update: i just created a plain 3.1 kickstart image, and added hrtmon to it, and it still won't get activated.
spoUP is offline  
Old 06 January 2008, 18:59   #15
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
I am going to try real A1200 test later (Blizzard 1260) but first I am planning something even more weird:

Single-boot KS 1M ROM without blizzard maprom feature (because it only supports 0xf80000-0xffffff area, other ROM areas are filled with "random" ram bank..), perhaps even including compression

Anyway, the point of this hack is to "emulate" 1M maprom-feature without maprom feature. (special code in ROM that puts all residents to fast ram during boot)
Toni Wilen is offline  
Old 06 January 2008, 19:14   #16
spoUP
Registered User
 
Join Date: Dec 2002
Location: sweden
Age: 46
Posts: 430
maybe something is wrong with my level 7 button...
i just made a kickstart without hrtmon in it...
and loaded hrtmon 2.30. i can enter it with rmb, but not
with my level 7 button..
when i press my level 7 button, my amiga halts, i thought
this was the right behaviour?
if i activate hrtmon with rmb, and then press my level 7 button i get a red bg in hrtmon, i thought this indicated that my button works?
spoUP is offline  
Old 06 January 2008, 19:16   #17
spoUP
Registered User
 
Join Date: Dec 2002
Location: sweden
Age: 46
Posts: 430
is there any easy way to check that my level7 button actually works?
spoUP is offline  
Old 06 January 2008, 19:31   #18
spoUP
Registered User
 
Join Date: Dec 2002
Location: sweden
Age: 46
Posts: 430
hmmm now i started the whdload version of Desert Dreams,
with hrtmon 2.30 installed in ram.
i pressed my level 7 button, and i got this error message:

Exception "1" ($7)
at $CED447F9 occured.

So I guess my button works? Or what does this mean?
spoUP is offline  
Old 06 January 2008, 19:33   #19
spoUP
Registered User
 
Join Date: Dec 2002
Location: sweden
Age: 46
Posts: 430
har har... or maybe not?
now i tried pure metal coders alpha and omega.. pressed the button and got this error message:

Exception "232" ($A3A3)
at $2ECA3A3 occured.
spoUP is offline  
Old 06 January 2008, 22:56   #20
demoniac
Registered User
 
Join Date: Jul 2005
Location: -
Posts: 1,687
Did you program the address where the exception defaults to? The Level 7 exception address should point to HRTMon's address.
demoniac is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it just me or is HRTMon very buggy? MethodGit support.WinUAE 3 12 July 2011 17:25
How to use HRTmon and AR on winuae carmel_andrews support.WinUAE 8 16 May 2007 19:35
HRTmon metalrules support.WinUAE 2 30 August 2006 18:53
Hrtmon ROM for WinUAE? unknown_4711 request.Apps 2 05 December 2004 11:49
HRTMon *** Version 2.25 *** Jim request.Apps 3 14 April 2004 16:22

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 15:23.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.16835 seconds with 14 queries