Jump to content
Sign in to follow this  
w1k

ASM - how start?

Recommended Posts

Hi, I decided to start to learn assembler. Where to start? Learn command, or computer memory, vbi, etc?

 

i have basic test - write letter "a" on screen

 

	run $2000

org $2000
lda #$61
clc
sta $bc40
jmp *

 

i want to letter "a" took the whole first line = aaaaaaaaaaaaaaaaaaaaaaaaa

 

thank you..

Edited by w1k

Share this post


Link to post
Share on other sites

index registers, as an example

 

org $2000

ldx #0

lda #$61

loop sta $bc40,x

inx

cpx #40

bcc loop

jmp *

 

or

 

org $2000

ldx #39

lda #$61

loop sta $bc40,x

dex

bpl loop

jmp *

 

or

 

org $2000

ldy #39

lda #$61

loop sta (88),y

dey

bpl loop

jmp *

 

... ;)

Share this post


Link to post
Share on other sites

I started with a simple demo from my friend Umut and then started to put PM's on screen, use VBI's, DLI's and stuff. I wrote a small simple introduction in Megamagazine, which I think helped another guy start ...

 

Have my code at : http://pokeysoft.no/games/atari/a8dl.htm

 

But it's not documented at all or at least extremely poorly.

 

You should have Mapping the Atari ... invaluable

 

Have fun and take Atarian care

Share this post


Link to post
Share on other sites
index registers, as an example

 

org $2000

ldx #0

lda #$61

loop sta $bc40,x

inx

cpx #40

bcc loop

jmp *

 

or

 

org $2000

ldx #39

lda #$61

loop sta $bc40,x

dex

bpl loop

jmp *

 

or

 

org $2000

ldy #39

lda #$61

loop sta (88),y

dey

bpl loop

jmp *

 

... ;)

 

oh maan, that's good.. can you comment that code?

Share this post


Link to post
Share on other sites
I started with a simple demo from my friend Umut and then started to put PM's on screen, use VBI's, DLI's and stuff. I wrote a small simple introduction in Megamagazine, which I think helped another guy start ...

 

Have my code at : http://pokeysoft.no/games/atari/a8dl.htm

 

But it's not documented at all or at least extremely poorly.

 

You should have Mapping the Atari ... invaluable

 

Have fun and take Atarian care

 

thanks.. i must print some books and learn, learn and learn

Share this post


Link to post
Share on other sites

i'm not the most competent person to write about 6502 assembly, but i think you should learn the basics, using QA or similiar crude assembler, and then switch to MADS, learning MADS at starts may do more harm than good

 

on the other hand - there is a lot of examples really saving the time, and quite usefull libraries

 

there was a course in Tajemnice Atari (Polish periodic about Atari) when they learn how to write a game, how to interface with system throught IOCB, or how to write a demo

but... this was in Polish language, maybe someone will translate this?

Share this post


Link to post
Share on other sites

kamarát mi poradil, aby som ATARI nepoužival a rovno prešiel na xasm.. rozmýšľal som na QA, ale chýba mi literatúra, predsa len, v polskom jazyku je to zložitejšie.

Share this post


Link to post
Share on other sites
i'm not the most competent person to write about 6502 assembly, but i think you should learn the basics, using QA or similiar crude assembler, and then switch to MADS, learning MADS at starts may do more harm than good

 

on the other hand - there is a lot of examples really saving the time, and quite usefull libraries

 

there was a course in Tajemnice Atari (Polish periodic about Atari) when they learn how to write a game, how to interface with system throught IOCB, or how to write a demo

but... this was in Polish language, maybe someone will translate this?

 

pierdole.. tajemnice is better than cz/svk scans of asm.. i try it.. thank you :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...