Search found 153 matches

by turboxray
Sun Aug 02, 2020 9:06 am
Forum: General Stuff
Topic: Math vs Language in programming
Replies: 19
Views: 21936

Re: Math vs Language in programming

I wouldn't necessarily consider something like "r0 = r1 & $1ff" to be closer to math syntax, simply because "=" is a glaring difference. The "=" symbol is assignment here, not equality or true equivalence like in math. I think "r1 & $1ff => r0" or &quo...
by turboxray
Sun Aug 02, 2020 9:04 am
Forum: General Stuff
Topic: Making "Good" Assembly Code
Replies: 73
Views: 33359

Re: Making "Good" Assembly Code

I would have thought that "money" was an uncountable noun (like "water") and that if you wanted to refer to multiple forms of money you would just rewrite it using another noun like "currency". But looking it up, both "moneys" and "monies" are corre...
by turboxray
Sun Aug 02, 2020 8:23 am
Forum: SNESdev
Topic: Bullets hell demo
Replies: 10
Views: 8815

Re: Bullets hell demo

Yeah, the video is private now, i don't understand why :? There is some informations: kulor07/29/2020 this may help shed some light on it it's a spatial grid-based collision detection system 2 slots per 16x16 for player bullets, 4 slots per 16x16 for things that hurt you thus ensuring no enemies ar...
by turboxray
Sat Aug 01, 2020 10:59 am
Forum: General Stuff
Topic: Making "Good" Assembly Code
Replies: 73
Views: 33359

Re: Making "Good" Assembly Code

Math is not a word. Canadian here; yes it is. You are suppose to be of the Commonwealth and know better. Wooow. That's not insulting at all :lol: "Maths" just sounds like something a 4 year old would say though. It's like saying "stuffs", or "monies" (yes I know people...
by turboxray
Sun Jul 26, 2020 9:40 pm
Forum: General Stuff
Topic: Making "Good" Assembly Code
Replies: 73
Views: 33359

Re: Making "Beautiful" Assembly Code

Mov is an Intel thing Someone hasn't coded for other processors haha. MOV/MOVE is used for more than just intel assembly syntax. I'm not particularly a fan of LD, ST, and the different variations of it, but it's better than LDA/LDX/LDY, etc. Those really should have been LD #$10, A... ST A, var2.. ...
by turboxray
Wed Jun 24, 2020 6:43 am
Forum: NES Hardware and Flash Equipment
Topic: NES Low-Pass Filter?
Replies: 20
Views: 16403

Re: NES Low-Pass Filter?

No. The signal wasn't any better. CRTs are brighter, and smaller. Up close, the pixels are pretty fuzzy, but at the size of a typical CRT it's not as noticeable. That's small part of it, but definitely not all of it. The issue is still with how the newer non CRT TVs capture the signal, filter/prep/...
by turboxray
Tue Jun 23, 2020 11:59 am
Forum: General Stuff
Topic: We need a better name for "Adventure Games."
Replies: 41
Views: 38193

Re: We need a better name for "Adventure Games."

Edit: Now that I think about it even more, you probably wouldn't call Zelda a metroidvania, but you'd probably call Zelda, Metroid, and SoTN all exploration games. I would call Zelda "action-adventure". Adventure already implies it to be non-linearity other wise anything is an adventure h...
by turboxray
Thu Jun 18, 2020 8:31 am
Forum: Newbie Help Center
Topic: Hello, I'm back, still need assistences
Replies: 99
Views: 30878

Re: Hello, I'm back, still need assistences

There's also absolute, indexed, indexed indirect, indirect indexed Honestly, the documentation should read indexed->indirect, and indirect->indexed to show the order of the procedure more clearly IMO. I mean, it's the case of language; batman isn't a "bat" with human attributes (but the o...
by turboxray
Wed Jun 17, 2020 7:04 am
Forum: NESdev
Topic: KickC Optimizing C-Compiler now supports NES
Replies: 34
Views: 23092

Re: KickC Optimizing C-Compiler now supports NES

I myself would advise against using this parameter because I think that compiler flags shouldn't change the meaning of the code. If I want local static variables, I declare them as such, I don't let the compiler do this. This has nothing to do with optimization, that's basically redefining the lang...
by turboxray
Mon Jun 15, 2020 7:29 pm
Forum: Newbie Help Center
Topic: Hello, I'm back, still need assistences
Replies: 99
Views: 30878

Re: Hello, I'm back, still need assistences

There's a reason why I'm asking so many questions here. I can't understand well with explanations on books, on Easy6502, and famously Nerdy Nights. It's been two years since I learn what A X and Y Register is for, and I understand fully on those stuff. I'm not like anyone or you who could understan...
by turboxray
Sun Jun 14, 2020 12:14 pm
Forum: General Stuff
Topic: Does this song remind you of a song in an NES game?
Replies: 15
Views: 9552

Re: Does this song remind you of a song in an NES game?

There is a self-created song that someone gave me. What NES tracks did they train it on? I think he is asking if it was generated by a neural network, or something to that degree? Was the song generated by an algorithm or composed by a person? I was under the impression it was composed by a person....
by turboxray
Sat Jun 13, 2020 4:02 pm
Forum: Newbie Help Center
Topic: Hello, I'm back, still need assistences
Replies: 99
Views: 30878

Re: Hello, I'm back, still need assistences

The Zero Flag: It turns on if the A, X, Y, or S Register has zero? It turns on if ONLY The A Register is turned on? Or if the destination of Address is holding zero right now? Z=1 if the result of the last load, logic, or arithmetic operation is 0. Stores do not affect it, nor does it ever reflect ...
by turboxray
Sat Jun 13, 2020 10:39 am
Forum: General Stuff
Topic: Does this song remind you of a song in an NES game?
Replies: 15
Views: 9552

Re: Does this song remind you of a song in an NES game?

DRW wrote: Thu Jun 11, 2020 8:23 pm There is a self-created song that someone gave me.
What NES tracks did they train it on?
by turboxray
Sat Jun 13, 2020 10:17 am
Forum: Newbie Help Center
Topic: Hello, I'm back, still need assistences
Replies: 99
Views: 30878

Re: Hello, I'm back, still need assistences

An automatic compare-to-zero instruction (which updates the N and Z flags) is built into the following 65c02 instructions: LDA, LDX, LDY, INC, INX, INY, DEC, DEX, DEY, AND, ORA, EOR, ASL, LSR, ROL, ROR, PLA, SBC, ADC, TAX, TXA, TAY, TYA, and TSX, and on the 65c02 (ie, CMOS), INA, DEA, PLX, and PLY....
by turboxray
Fri Jun 12, 2020 4:28 pm
Forum: Newbie Help Center
Topic: Hello, I'm back, still need assistences
Replies: 99
Views: 30878

Re: Hello, I'm back, still need assistences

I mean erase the Registers of A, X, and Y if not using or at least replace it with new numbers, not the Address. I think why erase it is to set certain Flags on or off. No. Because you'd just be wasting cycles. Any time you need to use one of those registers, you either want the remaining value in ...