01 February 2006, 18:29 | #1 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
For my First ASM Prog
For my first ever asm prog I'm going to attempt to open a screen and have a nice copper on it
Can anyone give me some basic advice on starting this? what do I need to consider etc.. should I just poke the regs or do it the system way? |
01 February 2006, 20:09 | #2 |
Zone Friend
Join Date: Oct 2003
Location: France
Age: 51
Posts: 161
|
see commented sources posted by Alpha One on http://www.flashtro.com !
1. copperlist 2. bitplan 3. text 4. copperbar 5. cpu scrolltext |
01 February 2006, 20:32 | #3 | |
Moderator
|
maybe this is helpful...
just change the copperlist to your choice... Quote:
|
|
01 February 2006, 21:57 | #4 |
Oldskool
Join Date: Dec 2005
Location: Norway
Age: 51
Posts: 28
|
I put a copperlist source for you in the zone. I coded it in Asmone and you need Kickstart 1.3 . Try it !!!
|
01 February 2006, 22:25 | #5 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
ENDE DER KOMMUNIKATION (c) Tron :P
...anyways good luck bippym, hope to see something nice from you soon! |
02 February 2006, 01:03 | #6 |
Going nowhere
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,987
|
And on another note, when you assemble that little lot, the copperlist MUST be in chip ram or nothing will be displayed.
Program code, music replayer, music note data can all be run in fast ram, copperlists, pictures and sampledata MUST be in chipram. |
02 February 2006, 13:22 | #7 |
Registered User
Join Date: Dec 2005
Location: Australia, Melbourne, Werribee
Age: 43
Posts: 42
|
Is ASM really hard to learn, i was thinking of trying it myself? I mean all the offsets and stuff look hard to understand but i think ill work it out
Galahad you must be one of the most looked up to people on this forum, i really admire you because of the fact that you were in fairlight (awesome group) and that you can code asm, and track mods if im right as for bippym good luck on your first prog |
02 February 2006, 16:32 | #8 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
I find it hard just remembering everything.
How to assemble gthe actual program (structure) and what offsets are required. Which registers are to be poked with what info etc.. That is what I find hard. I can read and follow asm to a certain degree. |
02 February 2006, 18:06 | #9 |
Moderator
|
i think it would be better to start with no visual stuff...
its the hardest thing you can start without any knowledge... a nice thing i remember was to write the current v-blank position to the backgroundcolor register every cycle... the result is a screen with more than 32 colors... i´ll try to find the source of this thing... |
03 February 2006, 16:59 | #10 |
hastala vista winny vista
|
hello x_to,
I just tried to compile your code above but it says illegal operator for the first move.w command. I'm running asmpro (1.16), under winuae with a1200/ks3.0 configuration. where could be the problem ? hello, btw, this is my first post here. as you can guess, I'm pretty new to asm. |
03 February 2006, 19:32 | #11 |
Zone Friend
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 424
|
Code:
s: move.w #$4000,$dff09a ;disable Interrupts; move #$0020,$dff096 ;disable Sprites move.l #copperl,$dff084 ;activate Copperlist .......... ..... |
03 February 2006, 23:24 | #12 |
Moderator
|
yes thats the problem of the EAB editor...it delete TABs..
otherwise it works fine |
07 February 2006, 01:03 | #13 |
Registered User
Join Date: May 2005
Location: Cheshire, UK
Age: 56
Posts: 322
|
If you like, I released an intro as a tutorial with extremely heavy comments. Let me know and I will send it to you as I still have it all
|
07 February 2006, 01:14 | #14 |
Going nowhere
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,987
|
Ray, I still have your source that correctly shuts down the system that you gave me at the Digital party! I think you used it for Sonic Attack
|
07 February 2006, 01:41 | #15 |
Registered User
Join Date: May 2005
Location: Cheshire, UK
Age: 56
Posts: 322
|
You know, that code was probably the only true sysdown() sysup() around at the time that worked on every amiga/kick.
Might be worth posting I hand a good hand with that from Randy/Comax for the a4000 compliance. Yes, it was in SA |
07 February 2006, 07:31 | #16 |
Oldskool
Join Date: Dec 2005
Location: Norway
Age: 51
Posts: 28
|
Hi there Galahad/ray I would really appreciate it if one of you would post that code. I been looking for a startup code like that.....for some time now... :-)
|
08 February 2006, 14:34 | #17 | |
WHD/oldskool maniac
Join Date: Dec 2003
Location: Pecs/Hungary
Age: 49
Posts: 99
|
Quote:
|
|
08 February 2006, 18:19 | #18 | |
Zone Friend
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 424
|
Quote:
|
|
08 February 2006, 23:05 | #19 | |
Registered User
Join Date: May 2005
Location: Cheshire, UK
Age: 56
Posts: 322
|
System close/restore code in the zone
Quote:
|
|
08 February 2006, 23:15 | #20 |
Registered User
Join Date: May 2005
Location: Cheshire, UK
Age: 56
Posts: 322
|
ah..
I found the intro source, but not the extra commented version I made for tutorials. I`ll upload the code anyway.
Last edited by Ray Norrish; 08 February 2006 at 23:23. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Rainboot 2.9 prog | Rod_cl | request.Apps | 4 | 26 February 2019 17:02 |
Viewer Prog | AlfaRomeo | request.Apps | 4 | 24 August 2008 02:38 |
Best prog to scan floppys? | Eny- | support.Apps | 10 | 04 August 2004 21:42 |
Snoopdos prog | stainy | request.Apps | 3 | 04 April 2004 00:09 |
Need prog! | Time Bandit | Retrogaming General Discussion | 6 | 20 November 2002 22:28 |
|
|