English Amiga Board


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

 
 
Thread Tools
Old 02 November 2023, 20:10   #1
paraj
Registered User
 
paraj's Avatar
 
Join Date: Feb 2017
Location: Denmark
Posts: 1,107
First whdload slave (TBL-Eon)

Hi Guys,
Trying to do my first whdload install. Never done any installer stuff before, and I think for this one it's easier to just copy the ADFs from the demo distribution rather than imaging discs. I've tried it on my own 060 and in WinUAE and it seems to work, but maybe somebody could do a spot check/review and see if it's up to snuff?
Other than that I'm not sure what next steps are. Would I just send it via e-mail to Wepl? (JOTD has kindly helped with the other stuff I've been involved in, but figured it was time to grow up, and handle some things myself ).
Thanks in advance.

Last edited by paraj; 06 November 2023 at 16:57.
paraj is offline  
Old 02 November 2023, 20:44   #2
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,206
congrats!

It contains very interesting stuff like uae debug commands that I never really used. I'm going to check this out!

the "datetime" file is produced by wdate (or wdate.py for windows but you have to use my tools) in a a makefile that maybe you should provide.

Send the install at release*at*whdload.de

You already have a whdload dev id, that will make things easier
jotd is offline  
Old 02 November 2023, 23:20   #3
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,206
BTW some more remarks:

1. can you document the AKS winuae commands?
2. you could use a print to WinUAE debugger console by writing to specific $ffxxxx memory zones in winuae instead of using whdload log. Toni mentionned that some time ago, never could make it work but I must have done it wrong
jotd is offline  
Old 03 November 2023, 09:32   #4
paraj
Registered User
 
paraj's Avatar
 
Join Date: Feb 2017
Location: Denmark
Posts: 1,107
Thanks for the feedback! I've added some more comments in the source code (how to build, what the AKS stuff is), and fixed a few things in the readme and shipped it off (so I can finally forget about it ).

The AKS stuff is from https://eab.abime.net/showthread.php?p=1513044 (apparently it can also be made to work in FS-UAE). I got really tired of manually toggling warp mode / waiting for specific part (and missing it). Really useful for non-interactive stuff, but note that it needs some uae stuff to be loaded amiga side to work (not an issue as long as a HD is attached).

Yes, logging would also be useful (if you don't need it on the real machine), I'll look into that next time I need to debug some stuff
paraj is offline  
Old 03 November 2023, 10:10   #5
DanyPPC
Registered User
 
Join Date: Dec 2016
Location: Italy
Posts: 741
Tested on WinUAE and Blizzard 1260, all ok.

Thank you for this new EON slave
DanyPPC is offline  
Old 05 November 2023, 22:14   #6
Wepl
Moderator
 
Wepl's Avatar
 
Join Date: Nov 2001
Location: Germany
Posts: 866
Quote:
Originally Posted by jotd View Post
2. you could use a print to WinUAE debugger console by writing to specific $ffxxxx memory zones in winuae instead of using whdload log. Toni mentionned that some time ago, never could make it work but I must have done it wrong
winuae logging probably has less overhead, but resload_Log will also work on real hw
@paraj I saw your macros for logging, maybe these are useful to be added to whdmacros.i?
Wepl is offline  
Old 06 November 2023, 16:57   #7
paraj
Registered User
 
paraj's Avatar
 
Join Date: Feb 2017
Location: Denmark
Posts: 1,107
Quote:
Originally Posted by Wepl View Post
winuae logging probably has less overhead, but resload_Log will also work on real hw
@paraj I saw your macros for logging, maybe these are useful to be added to whdmacros.i?
I certainly like it, so if others find it useful (and it's compatible with the assemblers people use) I say go for it.
The log feature is indeed quite useful on real HW. Especially when it's other peoples hardware - used it quite a bit in test builds to narrow down various problems.
paraj is offline  
Old 07 November 2023, 16:43   #8
Wepl
Moderator
 
Wepl's Avatar
 
Join Date: Nov 2001
Location: Germany
Posts: 866
Quote:
Originally Posted by jotd View Post
you could use a print to WinUAE debugger console by writing to specific $ffxxxx memory zones in winuae instead of using whdload log. Toni mentionned that some time ago, never could make it work but I must have done it wrong
attached my uaedebug.i used, interesting I found the cycle counter to measure time to execute certain code
Attached Files
File Type: s uaedebug.s (1.8 KB, 34 views)
Wepl is offline  
Old 07 November 2023, 23:55   #9
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,206
I have a question here

Code:
UAECMD macro
.call\@:
        pea     0.w
        move.l  a0,-(sp)
        pea     .cmdend\@-.cmd\@
        pea     .cmd\@(pc)
        pea     -1.w
        pea     82.w
        jsr     $f0ff60
        lea     24(sp),sp
        bra     .done\@
.cmd\@: dc.b    \1
        dc.b    0
.cmdend\@:
        even
.done\@:
        endm
why pushing a0 in the stack BTW?

@Wapl thanks for the macro!
jotd is offline  
Old 08 November 2023, 07:51   #10
paraj
Registered User
 
paraj's Avatar
 
Join Date: Feb 2017
Location: Denmark
Posts: 1,107
Quote:
Originally Posted by jotd View Post
why pushing a0 in the stack BTW?
Should have commented the macro since I forgot, but looked it up again and it's just an unused pointer. Normally it would point to where the result of the command is written, but since the last parameter (first pushed) indicating the number of bytes to write is 0, nothing is written.


Calls here:



https://github.com/tonioni/WinUAE/bl...aelib.cpp#L385


To here:



https://github.com/tonioni/WinUAE/bl...file.cpp#L8063


And yeah, thanks Wepl, will go into my toolbox.
paraj 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
TBL's EON demo Whdload Borgy support.Demos 63 06 November 2023 17:25
Getting Debug on a WHDload slave? mcgeezer project.WHDLoad 5 10 April 2022 10:31
TBL - Eon SuperFuryAnimal project.WHDLoad 0 05 August 2021 20:06
TFX whdload-slave? Swe_Kryten2x4b support.Games 8 25 July 2021 17:09
WHDload slave tutorial ? Joe Maroni Coders. Tutorials 14 19 August 2019 14: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 13:05.

Top

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