English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. C/C++

 
 
Thread Tools
Old 24 August 2017, 17:53   #21
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,500
Quote:
Originally Posted by S0ulA55a551n View Post
Followed first part of tut and get errors about Vlink when try and compile
Maybe somebody can help you when you are more specific about these errors.

Note that this workshop was not written with the recent vbcc version in mind. I guess it was v0.9e. This may be especially important as Kai uses the "kick13" config file, which still exists in v0.9f, but now it is a separate target: m68k-kick13. This target requires the original Commodore 1.3 header files and its amiga.lib supports 1.3 library functions only.
phx is offline  
Old 01 September 2017, 12:21   #22
S0ulA55a551n
Registered User
 
S0ulA55a551n's Avatar
 
Join Date: Nov 2010
Location: South Wales
Age: 47
Posts: 937
Hi Guys,

This is the error I get. So not in touch with C or Amiga compilers dont know where to start.


Fatal error 8: Cannot open "vlibos3:startup13.o": No such file or directory.
Aborting.
vlink failed returncode 20
vlink -bamigahunk -x -Bstatic -Cvbcc -nostdlib vlibos3:startup13.o "T:t_4_0.o" -lamiga -s -Lvlibos3: -lvc -o test failed

those lines seem to come form the kick13 file ????? and I guess it means it can't find some files it needs ?
S0ulA55a551n is offline  
Old 14 September 2017, 02:13   #23
MartinW
Registered User
 
Join Date: Mar 2017
Location: Minehead / UK
Posts: 608
Does anyone that has followed this tutorial find the result to be a bit flickery?

I had some code written a long time ago that basically drew a rectangle aong the bottom of an intuition window (as per breakout) and you moved it left / right with the cursor keys but it was always flickery. You could visibly see the left / right edges being redrawn as you moved. i had previously put it down to me not knowing what I was really doing.

So since this code has a lot of work around timers and refreshing the window only when needed etc., I modified it to draw my 'bat' instead of the rotating square and the result is identical to what I previously had.

I'm aware that line drawing is probably not the best way to go and I should probably use sprites but I'm surprised moving a simple rectangle can't be made smooth??
MartinW is offline  
Old 14 September 2017, 04:05   #24
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,187
Look up double buffering.

Sent from my Prism II using Tapatalk
Samurai_Crow is offline  
Old 14 September 2017, 11:47   #25
MartinW
Registered User
 
Join Date: Mar 2017
Location: Minehead / UK
Posts: 608
Quote:
Originally Posted by Samurai_Crow View Post
Look up double buffering.
The tutorial already uses double buffering. Well it says it does anyway. It writes to a second buffer which is swapped in when drawing is complete. Obviously I don't know if it's correct or not. Have you looked at the code in the document?

My original code also used double buffering but it wouldn't surprise me at all if I was doing that wrong
MartinW is offline  
Old 23 September 2017, 19:42   #26
woop
Registered User
 
Join Date: Apr 2015
Location: Kandel, Germany
Posts: 17
If you post your code we could have a look if there's something wrong with it.
woop 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
ADF-Workshop (formerly DMS-Workshop) Crashdisk project.TOSEC (amiga only) 233 23 February 2024 18:45
Quake 2 WorkShop Cowcat Coders. General 237 02 May 2023 20:40
Looking for Anim Workshop 2.0 amigagenie request.Apps 12 10 July 2011 17:07
Amiga 4000 hw resurrection workshop Reynolds Hardware mods 3 19 November 2008 17:28
Workshop Pron Boot_WB Hardware pics 19 06 June 2008 20:02

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 20:19.

Top

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