English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General > Coders. Releases

 
 
Thread Tools
Old 14 August 2022, 01:47   #161
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 652
Quote:
Originally Posted by Don_Adan View Post
Main difference between kick 3.1 and kick 3.9 is size of the stack. You can try to use bigger stack (8000-10000 bytes) for kick 3.1 and check results. I dont remember exactly, but perhaps stack on Amiga is used for relocation tables of exe files.
Does your vanilla 3.1 install have lowlevel.library?
pipper is offline  
Old 14 August 2022, 01:50   #162
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 1,941
I don't know, I will have to check

edit: yes seems to be present.

Last edited by abu_the_monkey; 14 August 2022 at 01:56.
abu_the_monkey is offline  
Old 14 August 2022, 22:01   #163
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 1,941
well I managed to get the builds from vasm to work on a vanilla 3.1 install but only by adding 16mb 32bit chip (that's on top of the normal 2mb chip ram) which is odd.
Attached Thumbnails
Click image for larger version

Name:	winuae-ab3d2.png
Views:	57
Size:	33.2 KB
ID:	76329  
abu_the_monkey is offline  
Old 14 August 2022, 22:05   #164
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,122
Is it possible something is up with the memory allocation calls? Does this class of memory get allocated using MEMF_CHIP ?
Karlos is online now  
Old 14 August 2022, 22:18   #165
utri007
mä vaan
 
Join Date: Nov 2001
Location: Finland
Posts: 1,653
keep up for a good work.
utri007 is offline  
Old 14 August 2022, 22:27   #166
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 1,941
seems to be trying to load everything into chip mem, but that does not explain why it works on my normal setup which only has the standard 2mb chip mem but is running rtg.
abu_the_monkey is offline  
Old 14 August 2022, 22:39   #167
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,122
Quote:
Originally Posted by abu_the_monkey View Post
seems to be trying to load everything into chip mem, but that does not explain why it works on my normal setup which only has the standard 2mb chip mem but is running rtg.
Weird. Are we talking dynamic allocations using explicit calls to AllocVec or load-time allocation of static data chunks?
Karlos is online now  
Old 14 August 2022, 22:41   #168
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,122
Obviously for real systems nothing wants to be in chip ram unless it's going to be accessed by the custom HW.
Karlos is online now  
Old 14 August 2022, 22:43   #169
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,122
Maybe some system patches on your actual machine are resulting in requests for chip ram to be allocated in Fast. Anyway, I'll try the more recent build in UAE with some of this mysterious 32-bit chip ram...
Karlos is online now  
Old 14 August 2022, 23:08   #170
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 652
That should not be needed. The dynamic allocations do not request chipmem unless for the sound effects. There are data and bss sections in the executable that should go mostly to fastmem. Do you have tools to inspect the linked executable for its sections? Maybe something is not setup right during linking.
pipper is offline  
Old 14 August 2022, 23:17   #171
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 1,941
@pipper

sorry no, I wouldn't know where to start with that sort of stuff. I am almost sure the problem is with the operator i.e. me and something I have done wrong when installing vasm, vlink and the includes/libs etc.
abu_the_monkey is offline  
Old 14 August 2022, 23:24   #172
QuikSanz
Registered User
 
QuikSanz's Avatar
 
Join Date: May 2021
Location: Los Angeles / USA
Posts: 135
Going by the screen shot. Does any real Amiga have 16MB of 32-bit Chip. My A4000T doesn't, It's loaded. That must be it.

Chris
QuikSanz is offline  
Old 14 August 2022, 23:28   #173
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 1,941
@QuikSanz

no, no real amiga has more than 2mb chip ram, but, emulators can have as much as you set it to.
abu_the_monkey is offline  
Old 15 August 2022, 00:04   #174
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,122
The 32-bit chip memory setting in UAE is confusing. How does it differ from the regular chip memory? It seems I can set them independently. Is it just the addressable range? Traditional chip ram can be set to 8MB (without a sex and free beer jumper emulation) but the 32-bit one goes way higher...
Karlos is online now  
Old 15 August 2022, 00:15   #175
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 1,941
yeah, not sure why its there (vampire emulation maybe?). it was just a last ditched attempt I tried because of the gurus my builds were giving under 3.1

the main problem is most lightly something I have not set up correctly.
abu_the_monkey is offline  
Old 15 August 2022, 09:11   #176
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 652
I placed a build of the main executable at https://eab.abime.net/zone/hires.zip
Let me know if this works for everybody.
pipper is offline  
Old 15 August 2022, 10:05   #177
fryguy
Registered User
 
Join Date: Aug 2005
Location: Skarabörg, Sweden
Age: 44
Posts: 1,019
Cool that you're making progress!

slightly OT: did anyone manage to compile the first AB3D?
fryguy is offline  
Old 15 August 2022, 11:48   #178
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,122
I was browsing the wall rendering code. There are a lot of signed integer divides going on. If the input ranges to these can be determined, maybe it's faster to have a lookup or partial lookup. Alternatively, an FPU enabled version for 060 might be doable. If the the same divisor is used multiple times (appears to use d2 repeatedly in several places), it could be replaced with a floating point multiply by reciprocal which is probably going to take fewer cycles.

Last edited by Karlos; 15 August 2022 at 11:54.
Karlos is online now  
Old 15 August 2022, 13:04   #179
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,122
Quote:
Originally Posted by pipper View Post
I placed a build of the main executable at https://eab.abime.net/zone/hires.zip
Let me know if this works for everybody.
I get an 8000 000A guru on startup with this version.
Karlos is online now  
Old 15 August 2022, 13:06   #180
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,122
On a second attempt, 8000 0002. Let me try increasing the chip memory.
Karlos is online now  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Alien Breed 3D II The Killing Grounds RTG patch Angus Retrogaming General Discussion 63 14 December 2022 15:20
Alien Breed & Alien Breed '92: SE - delay when picking up items / opening doors Ian support.WinUAE 16 23 December 2016 15:50
Alien Breed 3D II : The Killing Grounds code booklet alexh support.Games 19 10 October 2012 22:17
Alien Breed 3D 2 - The Killing Grounds Ironclaw support.Games 12 13 September 2005 13:07
HD Version of Alien Breed I ? Kintaro request.Old Rare Games 20 31 July 2003 10:48

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

Top

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