28 October 2019, 10:59 | #1 |
Registered User
Join Date: Oct 2019
Location: Spain
Posts: 23
|
Doubts with InitCopList command
Hi to all, I started recently to code in Blitz-Basic and I have some doubts about the "custom" parameter in the InitCopList. According to the manual,
this parameter create space for copper instructions used in the "custom" commands. Using only a custom command in my code is easy to set the value there, DisplayDblScan needs 2 copper ins, CustomSprites requires 4 or 2, etc. But, when you put more than one command.. the final value of the custom paramente is the sum of the values of all the commands? Should i put the greatest value? I'm very confused about this. I would like someone to help me with this question...!! Thank you very much in advance!!! |
28 October 2019, 12:20 | #2 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,374
|
Basically, yes, the custom value should be the sum of all the required custom values of all custom commands. But, there are two different "families" of custom commands, and they're not compatible with each other. You can only use one set or the other. The first set begins with "Custom...", e.g. CustomColors, CustomSprites... these values are positive. The second set begins with "Display...", e.g. DisplayDblScan, DisplayUser... these values are negative. You can't combine them and use one command that requires +2 and one command that uses -2, all custom commands need to be from the same set.
|
31 October 2019, 08:54 | #3 |
Registered User
Join Date: Oct 2019
Location: Spain
Posts: 23
|
Ok Daedalus, Understood, sometimes I used commands from both "families" (at the same time) and sometimes I had quite strange results and other times, nothing just happened.
Again thank you very much for your help. I hope to control this language soon. I'll be posting the results I get. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
VLINK doubts: Can't reference "re-linked" symbols? | Hcktrox | Coders. Asm / Hardware | 3 | 17 December 2017 18:57 |
CIA doubts | ross | Coders. Asm / Hardware | 3 | 09 July 2017 07:44 |
Collision detection: 2 doubts | nandius_c | Coders. Asm / Hardware | 6 | 30 November 2014 00:53 |
First doubts for game developing | nandius_c | Coders. Asm / Hardware | 21 | 25 October 2013 12:21 |
some doubts on the rom (kickstart) management in rommgr.cpp | pucci | support.WinUAE | 2 | 11 September 2011 14:42 |
|
|