English Amiga Board


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

 
 
Thread Tools
Old 24 August 2017, 18:53   #21
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 1,004
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  
AdSense AdSense  
Old 01 September 2017, 13:21   #22
S0ulA55a551n
Registered User
S0ulA55a551n's Avatar
 
Join Date: Nov 2010
Location: Rhondda, Wales
Age: 40
Posts: 477
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, 03:13   #23
MartinW
Registered User

 
Join Date: Mar 2017
Location: United Kingdom
Posts: 149
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, 05:05   #24
Samurai_Crow
Total Chaos forever!

Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Ft. Collins, CO USA
Age: 43
Posts: 906
Send a message via Yahoo to Samurai_Crow
Look up double buffering.

Sent from my Prism II using Tapatalk
Samurai_Crow is offline  
Old 14 September 2017, 12:47   #25
MartinW
Registered User

 
Join Date: Mar 2017
Location: United Kingdom
Posts: 149
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, 20:42   #26
woop
Registered User

 
Join Date: Apr 2015
Location: Kandel, Germany
Posts: 9
If you post your code we could have a look if there's something wrong with it.
woop is offline  
AdSense AdSense  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Quake 2 WorkShop Cowcat Coders. General 162 22 November 2017 13:27
ADF-Workshop (formerly DMS-Workshop) Crashdisk project.TOSEC (amiga only) 134 28 July 2017 19:39
Looking for Anim Workshop 2.0 amigagenie request.Apps 12 10 July 2011 18:07
Amiga 4000 hw resurrection workshop Reynolds Hardware mods 3 19 November 2008 18:28
Workshop Pron Boot_WB Hardware pics 19 06 June 2008 21: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 18:49.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.21253 seconds with 14 queries