Search found 19 matches

by belltone
Sat Dec 31, 2016 8:16 am
Forum: Newbie Help Center
Topic: Check whether there is a value in the array
Replies: 4
Views: 1762

Check whether there is a value in the array

I want to check if the number or not in an array how i can done? ColumnMap: LDA ColumnData, x STA #$00, x INX BNE ColumnMapDone ColumnMapDone: ColumnData: .db $01,$02,$03,$04,$05,$06,$07,$08,$09,$10,$0A,$0B,$0C,$0D,$0E,$0F .db $02,$03,$04,$05,$06,$07,$08,$09,$10,$11,$1A,$1B,$1C,$1D,$1E,$1F
by belltone
Fri Mar 11, 2016 7:05 am
Forum: Newbie Help Center
Topic: Increase and decrease the counter by one
Replies: 2
Views: 1352

Re: Increase and decrease the counter by one

Many thanks your code good option, I did so from what I understand: movex .dsb 1 moveleft .dsb 1 moveright .dsb 1 InitMove: lda #$01 sta moveright lda #$00 sta moveleft InitMoveDone: MoveLeft: lda moveleft beq MoveLeftDone lda movex sec sbc #$01 sta movex lda movex cmp #$50 bcs MoveLeftDone lda #$01...
by belltone
Thu Mar 10, 2016 9:10 am
Forum: Newbie Help Center
Topic: Changing background image, palette after the event
Replies: 6
Views: 2156

Re: Changing background image, palette after the event

Tank you for helping, your code should be placed after the NMI? I did not work the joystick if I clean it up NMI: lda #%10010000 sta $2000 lda #%00001110 sta $2001 WelcomeScreen: lda $2002 lda #$20 sta $2006 lda #$00 sta $2006 lda #<(welcome) sta pointerLo lda #>(welcome) sta pointerLo+1 ldx #$00 ld...
by belltone
Wed Mar 09, 2016 12:23 am
Forum: Newbie Help Center
Topic: Changing background image, palette after the event
Replies: 6
Views: 2156

Re: Changing background image, palette after the event

I understand that this code should be inactive and called on demand. It would be nice to show the code on the example of how it all called. I tried to enter the code welcome background after taking NMI RTS and call it in EnginePlaying function using JSR after pressing the Start button, i get a mess ...
by belltone
Tue Mar 08, 2016 7:29 am
Forum: Newbie Help Center
Topic: Changing background image, palette after the event
Replies: 6
Views: 2156

Changing background image, palette after the event

How can such that when I click on the button Press Start then loaded to another background picture such as games or other sprites palette as much as possible to make the transition. How can I change the palette, background, sprites after what some events there any lessons? It is also useful to creat...
by belltone
Mon Mar 07, 2016 5:26 am
Forum: Newbie Help Center
Topic: Increase and decrease the counter by one
Replies: 2
Views: 1352

Increase and decrease the counter by one

I do not understand how to do so before reaching the setpoint was a countdown and then also check out and start the cycle all over again with the increase. move_right .dsb 1 Rotate: MoveRight: lda move_right clc adc #$01 sta move_right cmp #$50 bcc RotateDone MoveLeft: lda move_right sec sbc #$01 st...
by belltone
Sat Mar 05, 2016 9:51 pm
Forum: Newbie Help Center
Topic: IF/ELSE in assembly
Replies: 3
Views: 2435

IF/ELSE in assembly

Hi as easy as possible to write a whole series of IF/ELSE in assembly? For example I need to check in on our cell numbers in it: MY_COLUMN = $00 ; hex column MyFunction: lda #MY_COLUMN ; hex column cmp #$00 ; $00 = $00 bne MyFunctionDone ; your code lda #MY_COLUMN ; hex column cmp #$01 ; $00 = $01 b...
by belltone
Fri Mar 04, 2016 12:12 am
Forum: Newbie Help Center
Topic: Collision with objects
Replies: 15
Views: 5085

Re: Collision with objects

I can take a variable for comparison at $2002 to create the effect of a collision but I still do not know how it can be easier to create one like something that: collision_status .dsb 1 check_collision .dsb 1 CollisionStatus: LDA #$00 STA check_collision LDA $2002 STA collision_status CMP #$C0 BNE C...
by belltone
Wed Mar 02, 2016 9:42 pm
Forum: Newbie Help Center
Topic: Place the sprites of 2 sections for number scores at $0250
Replies: 7
Views: 2168

Re: Place the sprites of 2 sections for number scores at $02

How can I manage the coordinates of these figures on the screen, I would like them to move a little down, but I go out in the middle of the screen.
by belltone
Wed Mar 02, 2016 7:07 pm
Forum: Newbie Help Center
Topic: Place the sprites of 2 sections for number scores at $0250
Replies: 7
Views: 2168

Re: Place the sprites of 2 sections for number scores at $02

I did scoring sprites numbers were taken from section 1, but how to take out a second: Scores: LDA $021B CLC ADC #$01 CMP #$F4 BNE NumberDone Ten: LDA ten CLC ADC #$01 STA ten CMP #DECIMAL_COUNT BNE NumberDone Hundred: LDA #CLEAR_COUNT STA ten LDA hundred CLC ADC #$01 STA hundred CMP #DECIMAL_COUNT ...
by belltone
Wed Mar 02, 2016 6:16 pm
Forum: Newbie Help Center
Topic: Place the sprites of 2 sections for number scores at $0250
Replies: 7
Views: 2168

Place the sprites of 2 sections for number scores at $0250

I want to draw scores on the screen so that you can make the function of scoring. I would like to take sprites number scores for 2 sections but I only available to the very mario sprites from 1 section. LoadScores: LDA #$20 STA $2006 LDA #$20 STA $2006 LDX #$00 LoadScoresLoops: LDA scores, x STA $20...
by belltone
Wed Sep 23, 2015 1:21 pm
Forum: Newbie Help Center
Topic: Movement of the player a few tiles
Replies: 3
Views: 2246

Movement of the player a few tiles

How to make to move the whole area and not one piece of it?
week3.zip
(39.09 KiB) Downloaded 152 times
by belltone
Sun Sep 20, 2015 11:29 pm
Forum: Newbie Help Center
Topic: Collision with objects
Replies: 15
Views: 5085

Re: Collision with objects

Thank you very much for your help is very good knowledge, they will be useful in the future for the creation of such a player or enemy bullets, and so on, I think understood the essence of the program will continue to do. I did object detection background tile: $00 this background, other items: $01,...
by belltone
Sat Sep 19, 2015 11:14 am
Forum: Newbie Help Center
Topic: Collision with objects
Replies: 15
Views: 5085

Re: Collision with objects

I did as instructed but a collision with an object signal is not happening instead is a clash along the line of the screen in the fact of the matter is in lessons Nerdy Nights (Starting Pong) where there are clashes with lines but not with objects, and this is not enough. collision.jpg I changed it ...
by belltone
Sun Sep 13, 2015 5:50 pm
Forum: Newbie Help Center
Topic: Collision with objects
Replies: 15
Views: 5085

Re: Collision with objects

Thank you for the link, but I'm interested in writing a collision in assembler. I know it's stupid and doesn't work, i could declare: PLAYER = $0203 OBJECT = $0300 but get an error during initialization: LDA #PLAYER LDY #OBJECT CMP #OBJECT BNE Done LDA #%00000001 STA $4015 LDA #%10111111 STA $4000 L...