English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 07 October 2020, 22:49   #1
Rixa
Registered User
 
Join Date: Sep 2007
Location: Tampere / Finland
Posts: 127
Problems building the asm version of render.library []

I came across renderlib68k.lha from Aminet, needed for something or the other. Noticing that there was no 020+FPU build included, I thought it might be fairly straight-forward to build one. Unfortunately it turned out that I can't even produce a regular 020 build that works.

I took note of build.sh that calls vasm with various options to produce the different builds, had grabbed vbcc 0.9g and settled for something like this:

vasmm68k_mot Render_lib.asm -o render.library -m68020 -w -devpac -x -Fhunkexe -Iram:renderlib_v32/include/ -DHAVE_CPUFPU -DCPU60=0 -DCPU40=0 -DCPU20=1 -DUSEFPU=0 -quiet

There are many notices about operands being translated and the resulting binary ends up having 138 byte differences scattered about, but it is otherwise the same length as the binary included in the package.

Unfortunately this freshly built binary fails to open, with OpenLibrary("render.library",0) returning zero. The binary included in the package works.

Any ideas? Perhaps I'm just overlooking something obvious. I'm not entirely new to this kind of thing, but it has been some time.

EDIT: I found out what was going on and it wasn't interesting after all. My LVO/*_lib.i had just been generated with errors in them, and wrong calls were being made. Oh well.

Last edited by Rixa; 08 October 2020 at 20:33. Reason: Solved and it wasn't interesting. Thread should be deleted.
Rixa 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
A library template (C/Asm, mainly cross-develop focused) alkis Coders. C/C++ 1 06 June 2018 21:58
Coding a .library in asm? oRBIT Coders. System 23 24 October 2017 16:08
Trying to find render.library v30! jimmy2x2x New to Emulation or Amiga scene 7 07 April 2012 09:06
Problems with a little ASM code VoltureX Coders. General 7 12 December 2011 13:10
ASM Pro library request - Help W4r3DeV1L Coders. General 3 20 June 2008 16:04

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 23:23.

Top

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