hello for the help with :
If you want to have look at how the build in functions work, the /asm folder is your friend.
I'll test some small routines.
I still have to look into how to pass int numbers from nxtbasic to asm and retrieve int numbers from asm for nxtbasic.
Thanks.
Best wishes
nxtBasic error with STA "A"
Re: nxtBasic error with STA "A"
Feel free to post any use cases I can help with.
Re: nxtBasic error with STA "A"
your nxtbasic is great fun.
I tested a small routine in basic-functions.s (fillcolor)
works great.
-------------------------------
func "FILLCOLOR":"FILLCOLOR"
FILLCOLOR:
lda #0
sta $9f20
lda #0
sta $9f21
lda #$10
sta $9f22
ldx #$00
loop1:
ldy #$00
loop:
lda #45
sta $9f23
iny
bne loop
inx
bne loop1
rts
endfunc:
---------------------------
basic :
-----------------------
SCREEN 128
print "SUPER"
fillcolor
------------------------------
greeting.
I tested a small routine in basic-functions.s (fillcolor)
works great.
-------------------------------
func "FILLCOLOR":"FILLCOLOR"
FILLCOLOR:
lda #0
sta $9f20
lda #0
sta $9f21
lda #$10
sta $9f22
ldx #$00
loop1:
ldy #$00
loop:
lda #45
sta $9f23
iny
bne loop
inx
bne loop1
rts
endfunc:
---------------------------
basic :
-----------------------
SCREEN 128
print "SUPER"
fillcolor
------------------------------
greeting.
- Attachments
-
- nxtbasic.jpg (13.61 KiB) Viewed 786 times
Re: nxtBasic error with STA "A"
It already exists
FILLSCREEN color
But yes, the extensibility is great. I still have to document it though.
FILLSCREEN color
But yes, the extensibility is great. I still have to document it though.
Re: nxtBasic error with STA "A"
It's just a demo, I couldn't think of anything else to test this asm with nxbasic.
Thanks.
greeting
Thanks.
greeting