English Amiga Board


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

 
 
Thread Tools
Old 26 September 2017, 19:28   #21
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
hmm, strange. I have no idea what to do next.

btw: do you know how to set a global definition with sas/c,
sort of -DAMIGA done with gcc?
maybe something in SCOPTIONS file: "DEFINE AMIGA" ?

#1) I found the solution, it is indeed SCOPTIONS with DEFINE AMIGA

Last edited by emufan; 26 September 2017 at 20:34.
emufan is offline  
Old 26 September 2017, 19:47   #22
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 652
The cast in the allocation of spriteData looks wrong to me. You’re casting to UWORD instead of UWORD* , essentially snipping off the upper 16bits of the pointer. Try using Enforcer.

Last edited by DH; 19 November 2017 at 13:42. Reason: Deleted direct Tapatalk signature
pipper is offline  
Old 27 September 2017, 01:33   #23
milikabdp
Registered User
 
Join Date: Sep 2017
Location: Novi Sad
Posts: 23
Thanks for the ideas.
Whole day experimenting and the problem was that my wb on actual Amiga was setup with overscan.
When i turned overscan off sprites appeared and function correctly.

How to open the screen with no overscan or with enabled sprites?

How to disable mouse pointer? hide it somehow, screen only approach is making it impossible to use SetPointer...

Again question and questions
milikabdp is offline  
Old 28 September 2017, 04:47   #24
milikabdp
Registered User
 
Join Date: Sep 2017
Location: Novi Sad
Posts: 23
Here is the alpha app that i have been working on - its amiga version of 240p test suite.
zip dl link

Limitation: no overscan on wb please, sprites wont show
milikabdp is offline  
Old 28 September 2017, 14:23   #25
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
Quote:
Originally Posted by milikabdp View Post
Limitation: no overscan on wb please, sprites wont show
tested in emulation winuae 3.5.0 - switched off overscan and the sprite was visible

#1) btw. pack the files with lha, using zip does remove the Executable flag
after unpacking, so you have to set it before using the tool
Attached Thumbnails
Click image for larger version

Name:	sprites.png
Views:	75
Size:	6.8 KB
ID:	54787  
emufan 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
Amidevcpp c++ link errors tolkien Coders. C/C++ 8 08 November 2019 01:18
AmiDevCpp $(GLOBALDEPS) mritter0 Coders. C/C++ 1 29 June 2015 01:30
AmiDevCpp AF2013 Coders. C/C++ 0 14 March 2014 00:23
Problem compiling with AmiDevCpp Franchute13 Coders. C/C++ 2 26 September 2013 15:01
AmiDevCpp and Floats AmigaEd Coders. General 0 18 January 2006 03:16

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 15:50.

Top

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