Jump to content
Jagware
Zerosquare

Updated Bjl Loader Program

Recommended Posts

Zerosquare    10

(old posts are there, I chose to create a new topic to have a central location for download and comments)

 

I've just updated my modified version of Bastian Schick's and friends BJL uploader program, called lo_inp, which supports Windows NT/2000/XP. Support for Linux has been (re)-added (by special request from SebRmv ;), and minor tweaks have been made.

 

Enjoy, and please give feedback !

lo_inp.zip

Share this post


Link to post
Share on other sites
ovalbugmann    0

Thanks Zerosquare!, I'm just now getting used to using bjl and learning about programming the Jaguar and I am sure this will be of great use to me under Windows XP & 98 which is what I have right now. Although there are advantages, of course, to using either a Felix, Rapier or Alpine development system like probably debugging, I'm intrigued with how Matthias uses only BJL to develop such highly polished titles as Double Feature #1.

 

Your work is really appreciated! :D

 

Thanks.post-149-1194696560.gif

Share this post


Link to post
Share on other sites
ggn    1

Bumping an old thread, I know, but I just tested it on my old winxp box and the 8bit loader worked without errors, so thanks :)

Share this post


Link to post
Share on other sites
Orion_    1

I tried it under Windows 7 64bits and it didn't worked at first.

I had to update the inpout32.dll file with a more updated one.

Just download this package http://www.highrez.co.uk/scripts/download....=InpOutBinaries

Start the "InstallDriver.exe" file in the Win32 folder.

Replace the dll file from lo_inp by the one in the Win32 folder of the package (it's compatible 32/64bits)

 

I recently found out that virtualjaguar only support .abs file with header, and not .bin file with no header.

But lo_inp doesn't support .abs file (it doesn't find any header)

So I was wondering if the .abs file support can be added ? Has anyone some abs header information ?

 

Share this post


Link to post
Share on other sites
SCPCD    0

ABS header :

 

- Magic Number = 0x601B

- TEXT segment size (4 Bytes)

- DATA segment size (4 Bytes)

- BSS segment size (4 Bytes)

- Symbol table size (4 Bytes)

- ? (4 Bytes)

- TEXT base address (4 Bytes)

- Flags = 0xFFFF

- DATA base address (4 Bytes)

- BSS base address (4 Bytes)

 

;)

 

Share this post


Link to post
Share on other sites
Orion_    1

I was wondering, if a website with all the resources for jag dev exist ?

Some years ago I was a bit confused, and didn't know where to start or where to find all the docs and dev tools

There should be a page with all the link to lo_inp for BJL transfer, sln and smac for deving on modern OSs, link to tutorials and jagv8 doc etc...

That would be nice for newcomers

 

Share this post


Link to post
Share on other sites
Orion_    1

oh well ... nevermind ... Nice job Zerosquare :)

 

By the way, I just tested my new version of lo_inp, it worked with some .abs file I tried !

I hope I didn't do any mistake in the code ^^

I just UPXed the executable because my antivirus program was detecting a virus in the original exe file ... (heuristic detection sux :/)

 

Share this post


Link to post
Share on other sites
Orion_    1

CAREFUL: IT DOESN'T WORK !!

 

I thought I had a bug yesterday in my program, but it was my new version of lo_inp that wasn't working, it seems not to transfer the whole program and datas are missing at the end !

I don't know why, maybe if someone find where I did a mistake, the code I added is at the end of the file in the function relocate.

 

Share this post


Link to post
Share on other sites
ggn    1

Bumpety bump :)

 

Since I'm in the process of adding BJL support to JiFFI I thought I'd get the uploader from this thread for tests. Then I noticed Orion_'s abs enabled version which would suit my purposes better.

 

CAREFUL: IT DOESN'T WORK !!

 

I thought I had a bug yesterday in my program, but it was my new version of lo_inp that wasn't working, it seems not to transfer the whole program and datas are missing at the end !

I don't know why, maybe if someone find where I did a mistake, the code I added is at the end of the file in the function relocate.

 

Just had a look at the code - might I suggest uploading the whole file minus the header (which is $a8 bytes for $601b coff header and $24 bytes for $150 abs header)? Perhaps the header has wrong sizes stored! I'd test if I could, but no PC with parallel cable here!

 

(BTW the BJL uploader for ST that I patched for COFF some time ago does exactly this and works fine)

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×