Search found 306 matches

by sdm
Mon Jul 17, 2017 5:13 am
Forum: Newbie Help Center
Topic: Simplify long, repetitive code.
Replies: 39
Views: 16169

Re: Simplify long, repetitive code.

I would still like to ask for help with a slightly different, large code. Rule similar, but slightly different. Each bit in the "GOLD_xx_xx_UnLock" byte slot is responsible for the collected (1) or not (0) gold. I tried to make the simplified code as above in posts, but this time instead of jump (JM...
by sdm
Wed Jul 12, 2017 3:11 pm
Forum: Newbie Help Center
Topic: Simplify long, repetitive code.
Replies: 39
Views: 16169

Re: Simplify long, repetitive code.

Thanks for the help. NESASM3 probably has some limitations, for example: .dw LEV01,LEV02,LEV03,LEV04,LEV05,LEV06,LEV07,LEV08,LEV09,LEV10,LEV11,LEV12,LEV13,LEV14,LEV15,LEV16,LEV17,LEV18,LEV19,LEV20,LEV21 (ect) Displays error "Syntax error in expression!" Only then is done ok: (I also see the length o...
by sdm
Mon Jul 10, 2017 12:53 pm
Forum: Newbie Help Center
Topic: Moving Sprite loop with slow motion when changing direction.
Replies: 6
Views: 2145

Re: Moving Sprite loop with slow motion when changing direct

I managed to do it the way I wanted it, ie releasing 8pix before points A and B. But the code does not look too good, especially as far as optimizations are concerned, I will be grateful for the improvement of the code. ENM_loop: LDA ENM_Slow ;EOR changes the value of one bit per frame EOR #%0000000...
by sdm
Mon Jul 10, 2017 3:52 am
Forum: Newbie Help Center
Topic: Moving Sprite loop with slow motion when changing direction.
Replies: 6
Views: 2145

Moving Sprite loop with slow motion when changing direction.

The object moves in a loop from point A to point B and returns. I would like to slow down the movement of the object so that it smoothly slows down the movement at each approach to these points. I tried to do two times slow motion, which will start 8pixels before those points. Ideally, if the slowdo...
by sdm
Sun Jul 09, 2017 3:36 am
Forum: Newbie Help Center
Topic: Simplify long, repetitive code.
Replies: 39
Views: 16169

Re: Simplify long, repetitive code.

usage.txt from NESASM3 says: HIGH() - Returns the high byte of a value. LOW() - Returns the low byte. DB - Store one or more data bytes at the current location. DW - Store data words. BYTE - Same as DB. I changed and should be fine, but.. Unfortunately again NESASM3 displays an error. "syntax error ...
by sdm
Sat Jul 08, 2017 5:59 pm
Forum: Newbie Help Center
Topic: Simplify long, repetitive code.
Replies: 39
Views: 16169

Re: Simplify long, repetitive code.

Oziphantom wrote:oh yeah, ooppss

Code: Select all

LvlFuncPtrTableLo
   .byte <LEV01,<LEV02,<LEV03,<LEV04,<LEV05,<LEV06,<LEV07(..snip...),<LEV63
LvlFuncPtrTableHi
   .byte >LEV01,>LEV02,>LEV03,>LEV04,>LEV05,>LEV06,>LEV07(..snip...),>LEV63

An error pops up - "syntax error in expression!" :( I use NESASM3.
by sdm
Sat Jul 08, 2017 1:53 am
Forum: Newbie Help Center
Topic: Simplify long, repetitive code.
Replies: 39
Views: 16169

Simplify long, repetitive code.

I have a problem with simplifying some code. I would like to minimize the size of this code, but the functionality must be identical: LEV_Check: LDA Variable CMP #1 BNE No_01 LDA #$02 STA SPR_X JMP LEV01 No_01: LDA Variable CMP #2 BNE No_02 LDA #$02 STA SPR_X JMP LEV02 No_02: LDA Variable CMP #3 BNE...
by sdm
Thu Jul 06, 2017 8:44 am
Forum: NES Music
Topic: FamiTone - audio library (release)
Replies: 82
Views: 54765

Re: FamiTone - audio library (release)

I do not know what's wrong: / Can you check the code?
by sdm
Wed Jul 05, 2017 6:29 am
Forum: NES Music
Topic: FamiTone - audio library (release)
Replies: 82
Views: 54765

Re: FamiTone - audio library (release)

I have a problem running Famitone, which has music/sfx data in the switch bank: .bank 12 ;UNROM bank switchable .org $8000 MUSIC: .include "music.asm" SFX: .include "sfx.asm" ;------------------------------------------------ .bank 14 ;UNROM bank fixed (last, non-switchable) .org $C000 .include "fami...
by sdm
Sun Jul 02, 2017 8:20 am
Forum: NES Music
Topic: FamiTone - audio library (release)
Replies: 82
Views: 54765

Re: FamiTone - audio library (release)

Is it possible to have all the famitone code with music and sfx in the UNROM bank? (one of those switchable). Currently I have in $ E000 (bank not switchable). Do not know if it's possible at all in the famitone?
by sdm
Tue Jun 27, 2017 2:55 am
Forum: Homebrew Projects
Topic: Micro Knight 3 - game demo & Micro Knight 4 (NESASM)
Replies: 19
Views: 14040

Re: Micro Knight 3 - game demo (NESASM)

These are secret entrances and levels.

edit: update download

V1.0 vs 0.99 - Some levels have been designed to be easier. Full Game.
by sdm
Mon Jun 26, 2017 12:12 am
Forum: Homebrew Projects
Topic: Micro Knight 3 - game demo & Micro Knight 4 (NESASM)
Replies: 19
Views: 14040

Re: Micro Knight 3 - game demo (NESASM)

random teleport ability? Can you describe more precisely? Strange, ROM tests on the console (not everdrive, but true 100% unrom buard) and even on the real console I never noticed that something like this came up (Or ... on the NTSC console so it happens, at my PAL is ok).
by sdm
Sun Jun 25, 2017 3:46 am
Forum: Homebrew Projects
Topic: Micro Knight 3 - game demo & Micro Knight 4 (NESASM)
Replies: 19
Views: 14040

Re: Micro Knight 3 - game demo (NESASM)

I downloaded and played the game. I like the concept of solving puzzles and I like the game play. But out of all my attempts I was never able to solve any puzzles or beat any levels. I have included a video of my game play because it will give you (the developer) invaluable feedback. https://www.yo...
by sdm
Fri Jun 23, 2017 5:32 am
Forum: Homebrew Projects
Topic: Micro Knight 3 - game demo & Micro Knight 4 (NESASM)
Replies: 19
Views: 14040

Re: Micro Knight 3 - game demo (NESASM)

Update. Now more like the real "demo" of the game. The first two maps are a complete example of the final game. Each map also has a secret level. Generally difficult, but it is possible to complete the first two chambers with their hidden rooms WITHOUT LOSS OF LIFE (And collect four coins that are t...
by sdm
Sat Jun 10, 2017 1:58 am
Forum: NES Hardware and Flash Equipment
Topic: Oryginal Kazzo (Anago) UNROM cart problem
Replies: 11
Views: 5866

Re: Oryginal Kazzo (Anago) UNROM cart problem

AM29F040B works with UNROM :) Thanks for the info.