Search found 36 matches

by michikaze
Thu Mar 05, 2015 2:43 pm
Forum: Newbie Help Center
Topic: [dumb] questions about 6502 javascript simulator
Replies: 29
Views: 7075

Re: [dumb] questions about 6502 javascript simulator

Not sure. I heard that MOSFETs are a bunch of transistors, and it's like switches that turn on and off other switches at unhuman speed. Now I trying to figure out how MOSFETs here works. Green and red thingy always stay green and red, yellow turn orange, and blue turn purple. And that transparent so...
by michikaze
Thu Mar 05, 2015 1:34 pm
Forum: Newbie Help Center
Topic: [dumb] questions about 6502 javascript simulator
Replies: 29
Views: 7075

Re: [dumb] questions about 6502 javascript simulator

http://visual6502.org/wiki/index.php?title=6502_State_Machine This page is isolated from everything, no category and nothing links to it. Still searching for the part that does increment. I guess it's somewhere in ALU, and it's to the right of X register. Can't understand how inverters http://wiki.n...
by michikaze
Thu Mar 05, 2015 10:20 am
Forum: Newbie Help Center
Topic: [dumb] questions about 6502 javascript simulator
Replies: 29
Views: 7075

Re: [dumb] questions about 6502 javascript simulator

and where it fetches next opcode? Instruction Register, I guess. So. How works INX. dpc2_XSB happens X moves through SB SOMEWHERE with dpc3_SBX it returns. tide: right now I just click at these guys right above registers (dpc4_SSB, dpc7_SS, dpc12_0ADD, &c), look at the names of active ones, and...
by michikaze
Thu Mar 05, 2015 5:28 am
Forum: Newbie Help Center
Topic: [dumb] questions about 6502 javascript simulator
Replies: 29
Views: 7075

Re: [dumb] questions about 6502 javascript simulator

So, it shows this while running: halfcyc:0 X:00 Exec: BRK(T1) (Fetch: INX) halfcyc:1 X:00 Exec: BRK(T1) (Fetch: INX) halfcyc:2 X:00 Exec: INX(T0+T2) halfcyc:3 X:00 Exec: INX(T0+T2) halfcyc:4 X:00 Exec: INX(T1) (Fetch: INX) halfcyc:5 X:00 Exec: INX(T1) (Fetch: INX) halfcyc:6 X:01 Exec: INX(T0+T2) hal...
by michikaze
Thu Mar 05, 2015 1:38 am
Forum: Newbie Help Center
Topic: [dumb] questions about 6502 javascript simulator
Replies: 29
Views: 7075

Re: [dumb] questions about 6502 javascript simulator

err, here: http://i.piccy.info/i9/901c4efaae1f5bae11f1a56faac4323f/1425543723/101672/543738/x0.png adl0 kind of goes over everything, I don't even know which nodes are affected by it. I don't even know if any of them are really related to x0, but they are the closest to it on the schematic. Lord of ...
by michikaze
Wed Mar 04, 2015 2:31 pm
Forum: Newbie Help Center
Topic: [dumb] questions about 6502 javascript simulator
Replies: 29
Views: 7075

Re: [dumb] questions about 6502 javascript simulator

ok, found that, thank you. Next, adl0 adl1 adl2, what purpose do those have? Output?

dpc3_SBX?
by michikaze
Wed Mar 04, 2015 12:54 pm
Forum: Newbie Help Center
Topic: [dumb] questions about 6502 javascript simulator
Replies: 29
Views: 7075

Re: [dumb] questions about 6502 javascript simulator

Four months passed, and I remembered that I still can't understand pretty much anything in http://visual6502.org/JSSim/expert.html So, I changed code to INX INX INX INX INX JMP $0 (or, in binary, e8 e8 e8 e8 e8 4c 00 00), and now I'm trying to find this X register in this mess. Yes, I think I'm goin...
by michikaze
Sat Nov 22, 2014 9:31 am
Forum: Newbie Help Center
Topic: [dumb] questions about 6502 javascript simulator
Replies: 29
Views: 7075

[dumb] questions about 6502 javascript simulator

http://visual6502.org/JSSim/ I don't know even what the starting bytecode means. This: 0000: a9 00 20 10 00 4c 02 00 00 00 00 00 00 00 00 40 0010: e8 88 e6 0f 38 69 02 60 00 00 00 00 00 00 00 00 Execution starts from beginning? On 6502 emulator it started from $600. Googling out takes too long and g...
by michikaze
Wed Nov 05, 2014 7:55 am
Forum: NESdev
Topic: [lazy] Can't get this floating point code
Replies: 16
Views: 7238

Re: [lazy] Can't get this floating point code

And with log, log10, exp. Surprisingly, they are much simplier than fmul and fdiv, just a bunch of jsr and loops. And, at the beginning of log, program gets exponent alone and converts it to float. And at end of exp he makes something opposite. I'm not sure if it even works correctly. I proceeded on...
by michikaze
Tue Nov 04, 2014 8:45 am
Forum: NESdev
Topic: [lazy] Can't get this floating point code
Replies: 16
Views: 7238

Re: [lazy] Can't get this floating point code

I just realised, those numbers are in format that is probably used only by this code. Still curious if whatever those guys at Apple used does actually support this keyword.

Ok, put it in as .db chain.
by michikaze
Tue Nov 04, 2014 3:57 am
Forum: NESdev
Topic: [lazy] Can't get this floating point code
Replies: 16
Views: 7238

Re: [lazy] Can't get this floating point code

Anyone knows how to make these work in 6502 simulator? It doesn't support "DCM" instruction, it seems. 1DCD 7E 6F LN10 DCM 0.4342945 2D ED 1DD1 80 5A R22 DCM 1.4142136 SQRT(2) 02 7A 1DD5 7F 58 LE2 DCM 0.69314718 LOG BASE E OF 2 B9 0C 1DD9 80 52 A1 DCM 1.2920074 80 40 1DDD 81 AB MB DCM -2.6...
by michikaze
Mon Nov 03, 2014 11:50 am
Forum: NESdev
Topic: [lazy] Can't get this floating point code
Replies: 16
Views: 7238

Re: [lazy] Can't get this floating point code

Now with fsub, fmul, fdiv and fix.

I think these kind of things are better to read this way, from short to complex. So, I will post them slowly growing up, step by step.
by michikaze
Thu Oct 23, 2014 5:28 am
Forum: NES Music
Topic: How to analize songs, and take out instruments?[NSFIMPORTED]
Replies: 8
Views: 4500

Re: How to analize songs, and take out instruments?

Tried emu2midi-lua, output is kind of unreadable. I, I'm wondering if there is a tool to export/import famitrackef files as text. Like this http://famitracker.com/forum/posts.php?id=3129 . I'll try to understand output in meantime. And a little unrelated question, just to not create another thread. ...
by michikaze
Tue Oct 21, 2014 1:55 pm
Forum: NES Music
Topic: How to analize songs, and take out instruments?[NSFIMPORTED]
Replies: 8
Views: 4500

Re: How to analize songs, and take out instruments?[NSFIMPOR

And direct conversion to FlMML, amasing! Thank you all, really.

(I forgot to mention, nsfplay have a nice visualizer too. With register values, volume, and a nice little keyboard. Just click "NSFplug" -> view -> keyboard)
by michikaze
Fri Oct 17, 2014 5:57 am
Forum: NES Music
Topic: How to analize songs, and take out instruments?[NSFIMPORTED]
Replies: 8
Views: 4500

How to analize songs, and take out instruments?[NSFIMPORTED]

Hello. I want to take songs from Darkwing Duck and Chip&Dale2, and memorise every bit of it. For that, I need to record an output of NSF as a list of register values, get some info on how these registers converts to actual soundwave, and get notes and instruments out of this mess. Actually, I wa...