Search found 31 matches

by ludoVIC
Fri Jan 22, 2021 12:14 pm
Forum: Newbie Help Center
Topic: Problem with "wait until the user press START"
Replies: 3
Views: 1728

Problem with "wait until the user press START"

Hello people, I am following the Nerdy Nights tutorials, basic sections, and trying to modify some code in order to get a better understanding. Sadly, I am stuck with an example and I don't manage to see the mistake by my own. The exercise is in principle very simple: 1) set the background to green ...
by ludoVIC
Fri Jan 22, 2021 4:32 am
Forum: Newbie Help Center
Topic: Clearing the memory after RESET.
Replies: 7
Views: 2477

Clearing the memory after RESET.

In the Nerdy Nights tutorial, the CPU RAM is usually cleared after the RESET operation. Code: CLRMEM: lda #$00 sta $0000, x sta $0100, x sta $0300, x sta $0400, x sta $0500, x sta $0600, x sta $0700, x lda #$FE sta $0200, x inx bne CLRMEM rts My question is: why do we assign the value #$FE to the ra...
by ludoVIC
Fri Jan 22, 2021 4:04 am
Forum: Newbie Help Center
Topic: Set a bit, clear a bit.
Replies: 10
Views: 2784

Re: Set a bit, clear a bit.

Thank you
by ludoVIC
Fri Jan 22, 2021 3:29 am
Forum: Newbie Help Center
Topic: Set a bit, clear a bit.
Replies: 10
Views: 2784

Set a bit, clear a bit.

While reading multiple sources, I often find the terms "setting / clearing" a bit. Now, I am not a native speaker, plus my experience with low-level programming is zero. We also say "the devil is in the detail", therefore...I honestly prefer to ask :mrgreen: I think that: - set a bit = put its value...
by ludoVIC
Thu Jan 21, 2021 9:30 am
Forum: Newbie Help Center
Topic: Nerdy Nights basics: role of the "bank" code
Replies: 7
Views: 1485

Re: Nerdy Nights basics: role of the "bank" code

Very good to know, thanks.
To be sure, I will always be careful of not exceeding the 8KB dimension.
by ludoVIC
Thu Jan 21, 2021 6:26 am
Forum: Newbie Help Center
Topic: Nerdy Nights basics: role of the "bank" code
Replies: 7
Views: 1485

Re: Nerdy Nights basics: role of the "bank" code

Fantastic, wonderful explanation!
Yes, and so this problem has been solved, too. Thank you very much :beer:
by ludoVIC
Thu Jan 21, 2021 5:03 am
Forum: Newbie Help Center
Topic: Why can't I see the palette in the memory debug?
Replies: 2
Views: 1138

Re: Where are the Palette actually stored?

Ohhh, great! Crystal clear and complete explanation: thank a lot! :beer: :D
by ludoVIC
Thu Jan 21, 2021 4:57 am
Forum: Newbie Help Center
Topic: Nerdy Nights basics: role of the "bank" code
Replies: 7
Views: 1485

Re: Nerdy Nights basics: role of the "bank" code

Thank you for the explanation. If I may, I'd like to ask for a couple of clarifications more. Each bank has a maximum capacity of 8 KB. But, how precisely is this value "filled"? Do code instructions occupy memory in the bank? In other words, if I understood correctly, the code itself is structured ...
by ludoVIC
Thu Jan 21, 2021 4:41 am
Forum: Newbie Help Center
Topic: Why can't I see the palette in the memory debug?
Replies: 2
Views: 1138

Why can't I see the palette in the memory debug?

According to the Nerdy Nights basic guide, an introductory way for loading the Palettes is with a simple loop: ;; Tell the PPU to write from $3F00 on lda #$3F sta $2006 lda #$00 sta $2006 ;; Palette loading ldx #$00 LoadPalette: lda PaletteData, x sta $2007 inx cpx #$20 bne LoadPalette Where "Palett...
by ludoVIC
Thu Jan 21, 2021 3:19 am
Forum: Newbie Help Center
Topic: Nerdy Nights basics: role of the "bank" code
Replies: 7
Views: 1485

Nerdy Nights basics: role of the "bank" code

I am studying the NN basic tutorials and, despite a basic fair understanding, I'd like to go e little bit more into details. Let's consider the following general code: .inesprg 1 .ineschr 1 .inesmap 0 .inesmir 1 .bank 0 .org $C000 ; do something Forever: JMP Forever .bank 1 .org $FFFA ; set the nes ...
by ludoVIC
Wed Jan 20, 2021 10:55 am
Forum: Newbie Help Center
Topic: A good 6502 physical reference book in 2021.
Replies: 8
Views: 2679

Re: A good 6502 physical reference book in 2021.

Hello, and thanks for the help. I managed to find a digital copy of the Leventhal's book, which indeed seems very well written and is also available on ebay for an OK price. I understand that you use it as a reference, but, anyway, do you think that reading it from cover to end might be a good idea?...
by ludoVIC
Wed Jan 20, 2021 9:45 am
Forum: Newbie Help Center
Topic: Getting started (in 2021)
Replies: 10
Views: 5331

Re: Getting started (in 2021)

Thanks, man! :beer: :wink:
by ludoVIC
Wed Jan 20, 2021 9:43 am
Forum: Newbie Help Center
Topic: A good 6502 physical reference book in 2021.
Replies: 8
Views: 2679

A good 6502 physical reference book in 2021.

Hello people, I have a simple reference question :beer: It seems that the only book currently available at a reasonable price is "Programming the 65816 including the 6502, 65C02, and 65802". Does anybody have a direct experience with it? Might it be useful to systematically learn the 6502 asm, or is...
by ludoVIC
Mon Jan 18, 2021 10:19 am
Forum: Newbie Help Center
Topic: Getting started (in 2021)
Replies: 10
Views: 5331

Re: Getting started (in 2021)

Thank you very much for the clarifications: for having pointed out the most relevant Wiki sections, as well as for the news concerning the website. I am re-reading the first Chapters of the Nerdy Nights tutorial, and I have to admit to be very satisfied. At the beginning they seemed more obscure, bu...
by ludoVIC
Wed Jan 13, 2021 4:21 am
Forum: Newbie Help Center
Topic: Getting started (in 2021)
Replies: 10
Views: 5331

Re: Getting started (in 2021)

Thank you for you answers! I am happy to hear your comments, and I think I'll post some more precise questions soon. Beyond that, I don't manage to access the suggested links from user "nocash". In my web browser I read the message: You don't have permission to access this resource.Server unable to ...