Author |
Message |
|
DarkerLine ceci n'est pas une |
Super Elite (Last Title)
Joined: 04 Nov 2003 Posts: 8328
|
Posted: 23 Dec 2003 06:19:09 pm Post subject: |
|
|
Over the winter break I have decided to finally write my game. It was originally supposed to be in Basic with Omnicalc sprites, but after I wrote it and it got deleted three times I decided to do something differently. At first I wanted to create my own Asm routine for the sprites, but then I decided to write the whole thing in Asm. It is going to be about an alien spaceship bombing towns. Since I am new to Asm I am going to need a lot of help with this... |
|
Back to top |
|
|
Justin W. Shattered Silence
Advanced Member
Joined: 24 May 2003 Posts: 429
|
Posted: 23 Dec 2003 10:39:02 pm Post subject: |
|
|
If you have questions, feel free to ask in the asm forum. I and many other members would be glad to answer your questions. |
|
Back to top |
|
|
Jedd 1980 Pong World Champion
Elite
Joined: 18 Nov 2003 Posts: 823
|
Posted: 23 Dec 2003 11:07:14 pm Post subject: |
|
|
Good luck! I might force myself to learn ASM over break too. |
|
Back to top |
|
|
Adm.Wiggin aka Tianon
Know-It-All
Joined: 02 Jun 2003 Posts: 1874
|
Posted: 24 Dec 2003 11:26:47 am Post subject: |
|
|
just so you know, you cant learn asm over a 2 week period...
at the very least 28 days (4 weeks)
unless you are some sort of prodigy |
|
Back to top |
|
|
Arcane Wizard `semi-hippie`
Super Elite (Last Title)
Joined: 02 Jun 2003 Posts: 8993
|
Posted: 24 Dec 2003 11:34:45 am Post subject: |
|
|
Adm.Wiggin wrote: just so you know, you cant learn asm over a 2 week period...
Yes you can, you won't have many try out programs or know everything by heart (unless you have a decent memory), but it's definatly possible.
Last edited by Guest on 24 Dec 2003 11:36:18 am; edited 1 time in total |
|
Back to top |
|
|
Adm.Wiggin aka Tianon
Know-It-All
Joined: 02 Jun 2003 Posts: 1874
|
Posted: 24 Dec 2003 11:56:09 am Post subject: |
|
|
ok, so you are right, but you couldnt actually LEARN anything... except maybe a few bcall's |
|
Back to top |
|
|
Arcane Wizard `semi-hippie`
Super Elite (Last Title)
Joined: 02 Jun 2003 Posts: 8993
|
Posted: 24 Dec 2003 12:08:03 pm Post subject: |
|
|
You can learn a few bcalls in minutes, even I can (and have) with my [sarcasm]oh so great memory.[/sarcasm]
Seriously, it's not that difficult once you get the idea of how assembly works, from then on it's just learning a bunch of codes and what they do.
Now, if you don't have a graphlink or any other way of testing your programs, then it will take much much longer to do anything in assembly, let alone learn it.
Last edited by Guest on 24 Dec 2003 12:10:49 pm; edited 1 time in total |
|
Back to top |
|
|
DarkerLine ceci n'est pas une |
Super Elite (Last Title)
Joined: 04 Nov 2003 Posts: 8328
|
Posted: 24 Dec 2003 12:29:08 pm Post subject: |
|
|
Adm.Wiggin wrote: just so you know, you cant learn asm over a 2 week period...
at the very least 28 days (4 weeks)
unless you are some sort of prodigy
I learned assembly in about a week. Really, I have been learning it for much longer than that, by reading stuff about assembly on sites like this one. |
|
Back to top |
|
|
DarkerLine ceci n'est pas une |
Super Elite (Last Title)
Joined: 04 Nov 2003 Posts: 8328
|
Posted: 31 Dec 2003 07:21:40 pm Post subject: |
|
|
Aaaaarghhhh!!!!!!!!
(Just in case you haven't noticed, I seem to be a leetle upset about something)
It seems like some higher order of being is preventing me from finishing this (I am not superstitious but this is getting to be ridiculous). To make things clear, the hard drive of my computer has died and been replaced. THIS IS THE FOURTH TIME!!!!!!!!
I suppose I will have to start all over again... fifth time's the charm, don't they say? |
|
Back to top |
|
|
Arcane Wizard `semi-hippie`
Super Elite (Last Title)
Joined: 02 Jun 2003 Posts: 8993
|
Posted: 01 Jan 2004 10:57:22 am Post subject: |
|
|
Get a decent hd, buy a floppy and use that to back stuff up. |
|
Back to top |
|
|
KD5YTX
Advanced Member
Joined: 03 Aug 2003 Posts: 306
|
Posted: 01 Jan 2004 11:13:01 am Post subject: |
|
|
What unwritten rule says that you can't learn ASM in a week or two? The basic premise of assembly and bare processor opcode programming is one picked up quickly, and a decent peice of documentation with opcodes or processsor calls is all you need with either to be on your way.
Reverently take assembly, in the fashion of the ninjas, and use it to crush your enemies.
|
|
Back to top |
|
|
DarkerLine ceci n'est pas une |
Super Elite (Last Title)
Joined: 04 Nov 2003 Posts: 8328
|
Posted: 01 Jan 2004 03:50:13 pm Post subject: |
|
|
KD5YTX wrote: What unwritten rule says that you can't learn ASM in a week or two? The basic premise of assembly and bare processor opcode programming is one picked up quickly, and a decent peice of documentation with opcodes or processsor calls is all you need with either to be on your way.
The 28 day tutorial contains 26 "day" tutorials, 5-6 tutorials a day is less than a week. |
|
Back to top |
|
|
DarkerLine ceci n'est pas une |
Super Elite (Last Title)
Joined: 04 Nov 2003 Posts: 8328
|
Posted: 04 Jan 2004 05:35:07 pm Post subject: |
|
|
Progress:
I have made a [s]working[/s] program where a spaceship that you can speed up and slow down flies over and through random black rectangles called buildings. Eventually it descends and crashes into the ground.
How do I write a Nimbus asm program (right now I'm using mirage). Where can I get the libraries and stuff?
Last edited by Guest on 04 Jan 2004 07:42:12 pm; edited 1 time in total |
|
Back to top |
|
|
DarkerLine ceci n'est pas une |
Super Elite (Last Title)
Joined: 04 Nov 2003 Posts: 8328
|
Posted: 04 Jan 2004 08:13:23 pm Post subject: |
|
|
When I run this, it turns the calculator off and says ram cleared. What is the trouble?
Code: .nolist
#include "ti83plus.inc"
#include "mirage.inc"
.list
BuildData .equ saferam1
ShipXY .equ saferam1 + 12
.org $9d93
.db $BB,$6D
ret
.db 1
.db %00011000,%00000000
.db %00100100,%00000000
.db %11111111,%00000000
.db %00011000,%00000000
.db %00000000,%00000000
.db %00000000,%11100000
.db %00000000,%11100000
.db %00000000,%11100000
.db %11100000,%11100000
.db %11100000,%11100000
.db %11101110,%11101110
.db %11101110,%11101110
.db %11101110,%11101110
.db %11101110,%11101110
.db %11101110,%11101110
.db "Invasion v0.1",0
ld c,12
ld hl,BuildData
RandLoop:
ld b,8
call iRandom
ld (hl),a
inc hl
dec c
jr nz,RandLoop
ld b,12
ld hl, BuildData
BuildLoop1:
push bc
push hl
ld a,b
sub 1
add a,a
add a,a
add a,a
ld b, (hl)
BuildLoop2:
ld ix, BuildingSprite
push af
ld a, b
add a,a
add a,a
add a,a
ld d,a
ld a,64
sub d
ld l,a
pop af
push af
call iSprite
call ifastcopy
pop af
djnz BuildLoop2
pop hl
pop bc
inc hl
djnz BuildLoop1
ld hl, ShipXY+1
ld a, 0
ld (hl), a
dec hl
ld a, 4
ld (hl), a
MainLoop:
bcall(_GetCSC)
cp skEnter
jr nz,NoPause
;Pause
NoPause:
ld hl, (ShipXY)
ld c, 2
cp skLeft
jr nz,NoSlow
ld c,1
NoSlow:
cp skRight
jr nz,NoFast
ld c,3
NoFast:
ld b,00
push hl
add hl,bc
ld a,h
cp 96
jr nc,NoCarry
sub 96
ld l,a
ld de, 0800
add hl, de
NoCarry:
ld a,h
cp 60
jr c,Crash
call XORShipAthl
pop hl
call XORShipAthl
jp MainLoop
Crash:
ret
XORShipAthl:
ld b, 4
ld ix, ShipSprite
ld a, h
call iSprite
call ifastcopy
ret
ShipSprite:
.db %00011000
.db %00100100
.db %11111111
.db %00011000
BuildingSprite:
.db %11111110
.db %11111110
.db %11111110
.db %11111110
.db %11111110
.db %11111110
.db %11111110
.db %11111110
.end
.end
Last edited by Guest on 07 Jan 2004 05:36:54 pm; edited 1 time in total |
|
Back to top |
|
|
DarkerLine ceci n'est pas une |
Super Elite (Last Title)
Joined: 04 Nov 2003 Posts: 8328
|
Posted: 07 Jan 2004 05:36:18 pm Post subject: |
|
|
Sorry for posting 4 times in a row but no one seems to respond anyway. How do I make a delay in my program other than a really long loop? |
|
Back to top |
|
|
Spyderbyte
Advanced Member
Joined: 29 May 2003 Posts: 372
|
Posted: 07 Jan 2004 08:01:33 pm Post subject: |
|
|
Sir Robin wrote: How do I write a Nimbus asm program (right now I'm using mirage). Where can I get the libraries and stuff?
Um currently there aren't a set of Nimbus libraries. I know it was mentioned and probably planned for App2, but as far as I know there isn't anything yet. You might want to write it in ION instead of Mirage, as Nimbus Beta 5 doesn't fully support Mirage programs.
Spyderbyte |
|
Back to top |
|
|
DarkerLine ceci n'est pas une |
Super Elite (Last Title)
Joined: 04 Nov 2003 Posts: 8328
|
Posted: 08 Jan 2004 05:02:48 pm Post subject: |
|
|
Spyderbyte wrote: You might want to write it in ION instead of Mirage, as Nimbus Beta 5 doesn't fully support Mirage programs.
Spyderbyte
Apparently I'm only using the ion functions anyway. I think all I have to do to switch is delete the image. If the "doesn't fully support" means the mirage functions don't work I think I will have no problem running it with Nimbus (Once I stop having a problem running it at all). |
|
Back to top |
|
|
Darth Android DragonOS Dev Team
Bandwidth Hog
Joined: 31 May 2003 Posts: 2104
|
Posted: 08 Jan 2004 07:13:54 pm Post subject: |
|
|
1-2 week? sheesh. *cough24hours* |
|
Back to top |
|
|
DarkerLine ceci n'est pas une |
Super Elite (Last Title)
Joined: 04 Nov 2003 Posts: 8328
|
Posted: 12 Jan 2004 05:46:23 pm Post subject: |
|
|
Darth Android wrote: 1-2 week? sheesh. *cough24hours*
For me, 24 hours is 1-2 weeks.
Anyway, work on this seems to have ground to a halt since nobody wants to take 5 minutes of their time to tell me what the hell is wrong with my program (Yes that was a hint). |
|
Back to top |
|
|
DarkerLine ceci n'est pas une |
Super Elite (Last Title)
Joined: 04 Nov 2003 Posts: 8328
|
Posted: 18 Jan 2004 02:34:38 pm Post subject: |
|
|
Hello people. I have this temptation I'm trying to resist of spamming this forum with exactly what I think of people who know way more Asm than I do but don't lift a finger to help me. |
|
Back to top |
|
|
|