English Amiga Board


Go Back   English Amiga Board > Other Projects > project.WHDLoad

 
 
Thread Tools
Old 04 January 2009, 17:34   #41
BlueAchenar
Not dead yet!!! :D
 
BlueAchenar's Avatar
 
Join Date: Feb 2008
Location: Aveiro / Portugal
Age: 42
Posts: 690
Quote:
Originally Posted by Wepl View Post
option Expert set?
correct hrtmon used?
hrtmon configured properly?
option Expert? Where do I set that?

I think HrtMon is configured properly, but I press the FreezeKey and nothing happens.
BlueAchenar is offline  
Old 04 January 2009, 17:41   #42
BlueAchenar
Not dead yet!!! :D
 
BlueAchenar's Avatar
 
Join Date: Feb 2008
Location: Aveiro / Portugal
Age: 42
Posts: 690
Finally, I got it to show up. Looks like the monitor I used to use back in the days.
BlueAchenar is offline  
Old 04 January 2009, 17:51   #43
BlueAchenar
Not dead yet!!! :D
 
BlueAchenar's Avatar
 
Join Date: Feb 2008
Location: Aveiro / Portugal
Age: 42
Posts: 690
I thought HDINIT would mount a partition DH0 automatically but HRTmon only lists DF0. Is this normal?
BlueAchenar is offline  
Old 04 January 2009, 18:07   #44
Wepl
Moderator
 
Wepl's Avatar
 
Join Date: Nov 2001
Location: Germany
Posts: 866
Quote:
Originally Posted by BlueAchenar View Post
I thought HDINIT would mount a partition DH0 automatically but HRTmon only lists DF0. Is this normal?
HRTmon doesn't know anything about the virtual hd. How should that work?
He only supports disks on the builtin ide controller.
Wepl is offline  
Old 05 January 2009, 02:04   #45
BlueAchenar
Not dead yet!!! :D
 
BlueAchenar's Avatar
 
Join Date: Feb 2008
Location: Aveiro / Portugal
Age: 42
Posts: 690
I can't see nothing abnormal in the load/save routines so far.

Do I have to do something to enable writing on the virtual DH0: or is it enabled by default?
BlueAchenar is offline  
Old 05 January 2009, 10:11   #46
BlueAchenar
Not dead yet!!! :D
 
BlueAchenar's Avatar
 
Join Date: Feb 2008
Location: Aveiro / Portugal
Age: 42
Posts: 690
Great news! The game is now saveable/loadable! It was not whdload related. The game just doesn't like to be run in the hard drive's root directory.

Just one more thing to solve before doing an installer. I might need some help on this one. It goes like this. Quitting the game normally quits to an OS 1.3 screen. The problem is this. The game is started with 'trav' which in turn runs 'startup.exe' and immediately returns. 'startup.exe' in turn does the same with 'space.exe', 'ground.exe', 'cgen.exe'. All '.exe' executables basically call each other and immediately return, so I have no way so far to know the game has quit.
Any hints anyone?
BlueAchenar is offline  
Old 05 January 2009, 10:32   #47
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by BlueAchenar View Post
I just don't like the AsmPro's IDE. I don't even know where the file is being assembled to.
No idea if you still wonder, but AsmPro always assembles into RAM, it doesn't write anything to disk when you assemble your source.
StingRay is offline  
Old 05 January 2009, 10:35   #48
BlueAchenar
Not dead yet!!! :D
 
BlueAchenar's Avatar
 
Join Date: Feb 2008
Location: Aveiro / Portugal
Age: 42
Posts: 690
Quote:
Originally Posted by StingRay View Post
No idea if you still wonder, but AsmPro always assembles into RAM, it doesn't write anything to disk when you assemble your source.
I got that sorted quickly: 'wo' (Write Object)
BlueAchenar is offline  
Old 05 January 2009, 10:57   #49
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
For some reason I already guessed that.
StingRay is offline  
Old 05 January 2009, 21:09   #50
musashi5150
move.w #$4489,$dff07e
 
musashi5150's Avatar
 
Join Date: Sep 2005
Location: Norfolk, UK
Age: 42
Posts: 2,351
Good work so far fella
musashi5150 is offline  
Old 05 January 2009, 22:42   #51
BlueAchenar
Not dead yet!!! :D
 
BlueAchenar's Avatar
 
Join Date: Feb 2008
Location: Aveiro / Portugal
Age: 42
Posts: 690
Quote:
Originally Posted by musashi5150 View Post
Good work so far fella
Thanks musashi!

Is it forbidden to upload uncracked game files to the zone like it is with IPFs? I'm almost finishing the main parts of the slave and maybe someone could test it while I finish that little quit thingie and the install script.

Last edited by BlueAchenar; 05 January 2009 at 22:50.
BlueAchenar is offline  
Old 05 January 2009, 22:51   #52
Retro-Nerd
Missile Command Champion
 
Retro-Nerd's Avatar
 
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,436
Upload a preinstalled version. It's allowed to upload original non-IPF images.
Retro-Nerd is offline  
Old 06 January 2009, 00:12   #53
BlueAchenar
Not dead yet!!! :D
 
BlueAchenar's Avatar
 
Join Date: Feb 2008
Location: Aveiro / Portugal
Age: 42
Posts: 690
Now I started getting a "Line 1111 Emulator" error on WHDLoad for no reason.

Phew, this is just one of those days...
BlueAchenar is offline  
Old 06 January 2009, 13:05   #54
BlueAchenar
Not dead yet!!! :D
 
BlueAchenar's Avatar
 
Join Date: Feb 2008
Location: Aveiro / Portugal
Age: 42
Posts: 690
Looks like there's still one problem to solve. The game treats DH0: as a floppy sometimes and others like an hard drive, so basically it will only search for saved games in the root directory (like it does for floppies) but will fail to open games in the root directory (like it does with hard drives).
BlueAchenar is offline  
Old 06 January 2009, 13:18   #55
Mad-Matt
Longplayer
 
Mad-Matt's Avatar
 
Join Date: Jan 2005
Location: Lincoln / UK
Age: 44
Posts: 1,846
Send a message via ICQ to Mad-Matt Send a message via MSN to Mad-Matt
Have the disk names been assigned to the virtual hd, incase its looking for its own floppies ?
Mad-Matt is offline  
Old 06 January 2009, 13:34   #56
BlueAchenar
Not dead yet!!! :D
 
BlueAchenar's Avatar
 
Join Date: Feb 2008
Location: Aveiro / Portugal
Age: 42
Posts: 690
I've tried that, but the game is prepared to run from an HD and so it didn't work. It is just getting a little confused.

If I do exactly the same thing as the slave by hand, it works fine.
BlueAchenar is offline  
Old 06 January 2009, 14:20   #57
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by BlueAchenar View Post
If I do exactly the same thing as the slave by hand, it works fine.
Does not compute If you would do exactly the same things it would work exactly the same. Jokes aside, what happens? Does the game show any "please insert disk xx" requesters?
StingRay is offline  
Old 06 January 2009, 15:00   #58
BlueAchenar
Not dead yet!!! :D
 
BlueAchenar's Avatar
 
Join Date: Feb 2008
Location: Aveiro / Portugal
Age: 42
Posts: 690
Quote:
Originally Posted by StingRay View Post
Does not compute If you would do exactly the same things it would work exactly the same. Jokes aside, what happens? Does the game show any "please insert disk xx" requesters?
Ok, detailed info.

Directory structure:

WHD_MT -> slave and launcher icon
|
+-> data -> this directory is mounted as DH0: and WHDLoad:
........|
........+-> MT -> game files (executables, saved games, data, etc...)
........+-> LIBS -> libraries used by the game
........+-> C -> just the 'endcli' command

The slave does a DOSBOOT with HDINIT (I think, don't have the source here), then changes dir to "MT" and executes "trav", the main executable. If I try to load a game it says something like "saved games not found" and it loops trying to find games.
If I copy the saved games to 'data', the DH0: root directory it finds the games but is "unable to restore", same thing that happens if I try to open saved games in a physical HD root dir.

If I open a shell, change dir to MT and run 'trav' everything works ok. Same thing if I run it double-clicking its icon.

I've resourced 'ground.exe', the relevant file, but the code is assembled C and that makes it a little hard to understand with all the indirect references it uses.
BlueAchenar is offline  
Old 06 January 2009, 15:36   #59
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Sounds like assign would do the trick. I just post the relevant part from my Jonathan slave as that's probably the easiest way for you to see what I mean.

Code:
; assign jon1: - jon10: to current dir
	lea	diskname(pc),a3
	moveq	#10-1,d6
.loop	move.l	a3,a0
	sub.l	a1,a1
	bsr	_dos_assign		; assign jon1: ""
	addq.b	#1,3(a3)
	cmp.b	#"9",3(a3)
	ble.b	.isok
	move.b	#"1",3(a3)		; 68000 compatible :)
	move.b	#"0",4(a3)
.isok	dbf	d6,.loop
So you see, in your slave you just assgin each disk to the current directory of the slave ("slv_CurrentDir"), that way the game would "think" it runs from floppy.
StingRay is offline  
Old 06 January 2009, 16:08   #60
BlueAchenar
Not dead yet!!! :D
 
BlueAchenar's Avatar
 
Join Date: Feb 2008
Location: Aveiro / Portugal
Age: 42
Posts: 690
Quote:
Originally Posted by StingRay View Post
Sounds like assign would do the trick. I just post the relevant part from my Jonathan slave as that's probably the easiest way for you to see what I mean.

Code:
; assign jon1: - jon10: to current dir
    lea    diskname(pc),a3
    moveq    #10-1,d6
.loop    move.l    a3,a0
    sub.l    a1,a1
    bsr    _dos_assign        ; assign jon1: ""
    addq.b    #1,3(a3)
    cmp.b    #"9",3(a3)
    ble.b    .isok
    move.b    #"1",3(a3)        ; 68000 compatible :)
    move.b    #"0",4(a3)
.isok    dbf    d6,.loop
So you see, in your slave you just assgin each disk to the current directory of the slave ("slv_CurrentDir"), that way the game would "think" it runs from floppy.
But I want it to think it is running from the hard drive. It must be just a small thing to figure out.
BlueAchenar 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
Using octamed as a slave Kola New to Emulation or Amiga scene 3 10 April 2021 20:36
MegaTraveller 1: The Zhodani Conspiracy Djay HOL data problems 1 13 January 2012 22:13
Looking for Megatraveller 2 1.05 rockersuke request.Old Rare Games 3 11 July 2009 16:11
Dogfight Slave.... killergorilla project.WHDLoad 63 28 July 2007 14:33
First Slave problem BippyM project.WHDLoad 114 06 March 2007 22:03

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 03:25.

Top

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