Search found 205 matches

by DocWaluigean
Tue Oct 09, 2018 9:47 pm
Forum: Newbie Help Center
Topic: Hello, new here, and need best recommandations.
Replies: 353
Views: 82048

Re: Hello, new here, and need best recommandations.

If I use a template, I will literally be missing out on everything on starting to make the base for .NES ASM stuff. Quite the contrary! It's better to study/dissect/break a known good template to figure it out than start from nothing without knowing what to do. You need quite a bit of knowledge abo...
by DocWaluigean
Tue Oct 09, 2018 9:24 pm
Forum: Newbie Help Center
Topic: Hello, new here, and need best recommandations.
Replies: 353
Views: 82048

Re: Hello, new here, and need best recommandations.

Ok, so let's see if we can get asm6 to work. in a plain text editor such as Windows Notepad enter and save the following as "test.asm" .db "hello world", $0d, $0a, "Second line", $0d, $0a In a round about way, this will basically instruct asm6 to make a file that is just 2 lines of plain text (not ...
by DocWaluigean
Tue Oct 09, 2018 8:53 pm
Forum: Newbie Help Center
Topic: Hello, new here, and need best recommandations.
Replies: 353
Views: 82048

Re: Hello, new here, and need best recommandations.

When the default gray color shows, that's when the the graphics chip has warmed up. All you'll need is a valid .nes file . Frankly it's kind of odd you specifically don't want a template for this part as that is basically all you need to succeed in generating such a file. It's like saying we need a...
by DocWaluigean
Tue Oct 09, 2018 8:24 pm
Forum: Newbie Help Center
Topic: Hello, new here, and need best recommandations.
Replies: 353
Views: 82048

Re: Hello, new here, and need best recommandations.

The first test I need is to make NES turn on 100% without using any already-created templates. There are many beginning steps in a running NES game/program, each of which can be considered "turned on at 100%" by various people. The cartage is in and the CPU loads bytes $fffc and $fffd into the Prog...
by DocWaluigean
Tue Oct 09, 2018 6:46 pm
Forum: Newbie Help Center
Topic: Hello, new here, and need best recommandations.
Replies: 353
Views: 82048

Re: Hello, new here, and need best recommandations.

If I stay too long in this lesson, I will surely be feeling to quit, so I don't want to take the risk. I can always go back and perfect it. lda #$04 ldx #$1F toplineloop: sta $0200,x dex bne toplineloop sta $0200 ;=== sta $0220 ; Hat Vertically [Up/Down] sta $023F sta $0240 sta $025F sta $0260 sta $...
by DocWaluigean
Wed Oct 03, 2018 8:57 pm
Forum: Newbie Help Center
Topic: Hello, new here, and need best recommandations.
Replies: 353
Views: 82048

Re: Hello, new here, and need best recommandations.

What features does ca65 have that ASM6 doesn't? A more robust macro system that allows you to automate repetitive tasks, more advanced memory management that allows you to fill ROM and RAM non-linearly (i.e. source code organized by context), modular assembly (you can assemble parts of your program...
by DocWaluigean
Wed Oct 03, 2018 8:39 pm
Forum: Newbie Help Center
Topic: Hello, new here, and need best recommandations.
Replies: 353
Views: 82048

Re: Hello, new here, and need best recommandations.

I got to ask even extremely ridiculous question even if there's chance I got right or not so I can find and understand in the most simplest or elementary explanation even toddler can understand. Just a reminder if I said this before?
by DocWaluigean
Wed Oct 03, 2018 8:34 pm
Forum: Newbie Help Center
Topic: Hello, new here, and need best recommandations.
Replies: 353
Views: 82048

Re: Hello, new here, and need best recommandations.

Note: I can't be part of Colecovision; I've never even touched a Colecovision. :lol: All numbers are signed and unsigned at the same time. That may sound confusing, but the great thing about 2's complement is that all binary operations are correct for signed and unsigned values. The only difference...
by DocWaluigean
Wed Oct 03, 2018 8:32 pm
Forum: Newbie Help Center
Topic: Hello, new here, and need best recommandations.
Replies: 353
Views: 82048

Re: Hello, new here, and need best recommandations.

There's no "NESASM6"... There's NESASM and ASM6, two separate assemblers. NESASM and ASM6 are much more newbie friendly, but ca65 has more features than both combined. Because NESASM has some weird quirks, I usually suggest ASM6 to beginners. Keep in mind that any of them can be used to make any ki...
by DocWaluigean
Wed Oct 03, 2018 7:03 pm
Forum: Newbie Help Center
Topic: Hello, new here, and need best recommandations.
Replies: 353
Views: 82048

Re: Hello, new here, and need best recommandations.

But what about the NESASM6 part? Or ca65 better choice?
by DocWaluigean
Wed Oct 03, 2018 6:48 pm
Forum: Newbie Help Center
Topic: Hello, new here, and need best recommandations.
Replies: 353
Views: 82048

Re: Hello, new here, and need best recommandations.

If you write lda #<-10 , ca65 will treat that as a two's complement number and translate it into lda #246 . The # means that lda will load an immediate value, as opposed to reading from a memory address. The < means "keep the low byte". An assembler on a 32-bit platform, such as a PC, will internal...
by DocWaluigean
Wed Oct 03, 2018 5:39 pm
Forum: Newbie Help Center
Topic: Hello, new here, and need best recommandations.
Replies: 353
Views: 82048

Re: Hello, new here, and need best recommandations.

The number $C0 can represent 192, or it can represent -64. The 6502 itself couldn't give a care. In practice, it depends on the context of the code around it. As an assembly language programmer, you are responsible for imbuing numbers with semantics, defining what each value means in context. Zero ...
by DocWaluigean
Wed Oct 03, 2018 5:32 pm
Forum: Newbie Help Center
Topic: Hello, new here, and need best recommandations.
Replies: 353
Views: 82048

Re: Hello, new here, and need best recommandations.

In two's complement, 0-127 are positive, and 128-255 are treated as negative. They represent -128 through -1. ....... But that's single.. what about what tokumaru wrote about that they're signed and unsigned at same time? So in Tokumaru part, it's a mirror of positive and negative of +255 and -1, a...
by DocWaluigean
Wed Oct 03, 2018 5:25 pm
Forum: Newbie Help Center
Topic: Hello, new here, and need best recommandations.
Replies: 353
Views: 82048

Re: Hello, new here, and need best recommandations.

All numbers are signed and unsigned at the same time. That may sound confusing, but the great thing about 2's complement is that all binary operations are correct for signed and unsigned values. The only difference is how YOU interpret the results and make decisions based on them. $FF is 255 unsign...
by DocWaluigean
Wed Oct 03, 2018 4:28 pm
Forum: Newbie Help Center
Topic: Hello, new here, and need best recommandations.
Replies: 353
Views: 82048

Re: Hello, new here, and need best recommandations.

"Signed" means "a number that can be either positive or negative, when interpreted in two's complement ". Two's complement is a way of representing negative numbers by adding 256 ($100). For example, 255 ($FF) means -1, 254 ($FE) means -2, 253 ($FD) means -3, etc. This works because addition and su...