Search found 11 matches
- Thu Apr 25, 2013 5:42 pm
- Forum: Newbie Help Center
- Topic: How is an instruction processed in the CPU?
- Replies: 14
- Views: 4732
Re: How is an instruction processed in the CPU?
To be honest, my reason is because I'd never head of MAME. Now that you've told me about it, though, I'll look into it. In fact, before logging in (and after seeing your post) I did a google search for MAME and got the web site. I'll be sure to examine the files over the weekend. Thanks!
- Thu Apr 25, 2013 5:29 pm
- Forum: Newbie Help Center
- Topic: How is an instruction processed in the CPU?
- Replies: 14
- Views: 4732
Re: How is an instruction processed in the CPU?
@Grapeshot: wow, I honestly didn't think that it was you. I mean, I did notice that the package was named "com. grapeshot .halfnes", but I... never mind. Now that I can communicate with you, would you mind if I use HalfNES sourcecode to create the modules that I was talking about? It would...
- Wed Apr 24, 2013 2:06 pm
- Forum: Newbie Help Center
- Topic: How is an instruction processed in the CPU?
- Replies: 14
- Views: 4732
Re: How is an instruction processed in the CPU?
Thank you all for answering! My final product (with all things implemented) will have an emulator that runs entirely in modules. The user will be able to select a console system, and the IDE will select a default set of plugins. To use NES emulation as an example, there will be separate modules for ...
- Tue Apr 23, 2013 9:56 am
- Forum: Newbie Help Center
- Topic: How is an instruction processed in the CPU?
- Replies: 14
- Views: 4732
Re: How is an instruction processed in the CPU?
So then, would you recommend this sort of processing routine? (written in pseudocode, of course) variables: <global scope> dword cycles; // keep a 4-byte variable to track the current cycle boolean isRunning; function runProgram(word startAddr) // startAddr for start address while isRunning is true ...
- Tue Apr 23, 2013 9:18 am
- Forum: Newbie Help Center
- Topic: How is an instruction processed in the CPU?
- Replies: 14
- Views: 4732
How is an instruction processed in the CPU?
I've been researching for the cpu emulator I'm building for my IDE, and I've found that nobody does what I did when executing an instruction. What I've done is to pack all the procedures into one function, called runProgram(). It starts at the (currently) hard-coded address of $C000, reads an instru...
- Wed Apr 03, 2013 11:24 am
- Forum: Newbie Help Center
- Topic: How do I use macros?
- Replies: 5
- Views: 2346
Re: How do I use macros?
It is any moment like this that I feel a renewed understanding of the well-known 'facepalm.' And yet, from the three assemblers that I've seen, the syntax for defining a macro is no more standard than the syntax for using a directive, or the list of directives that each assembler supports. Could you...
- Wed Apr 03, 2013 9:59 am
- Forum: Newbie Help Center
- Topic: How do I use macros?
- Replies: 5
- Views: 2346
Re: How do I use macros?
While I'm currently using ASM6, I would expect that there could only be a token's worth of difference between assemblers (I'd wager on it being mostly syntax).
Thank you for your response.
Thank you for your response.
- Wed Apr 03, 2013 9:28 am
- Forum: Newbie Help Center
- Topic: How do I use macros?
- Replies: 5
- Views: 2346
How do I use macros?
I've got a question about macros, and I'd like to have my understanding checked. Does a macro have this format: .macro <name> <parameters> <code> .endmacro (or equivalents) and is it called like this: .macroname <parameters> Furthermore, does the assembler inline the macro code wherever the macro is...
- Tue Apr 02, 2013 8:31 am
- Forum: NESdev
- Topic: 6502 Disassembly Question
- Replies: 10
- Views: 3494
Re: Hamtaro126
My friend, I think that I can do it. For the a/v, etc. plugins I think that I can use OOD to great effect. I must ask, though, what is a table-based assembler? Is it the same as a multi-pass assembler that I've been reading about? Either way, I'm going to get the basics implemented first: I'll build...
- Mon Apr 01, 2013 12:31 pm
- Forum: NESdev
- Topic: 6502 Disassembly Question
- Replies: 10
- Views: 3494
Re: 6502 Disassembly Question
@blargg: sir/madam, let's get onto the same page. Are you trying to be sarcastic, or are you seriously of that opinion? @thefox: I do use asm6 currently, but I've never tried to use a lot of its stuff. @all: The final plan for the assembler is to bring it into an ide. I do not, under any illusions, ...
- Mon Apr 01, 2013 10:24 am
- Forum: NESdev
- Topic: 6502 Disassembly Question
- Replies: 10
- Views: 3494
6502 Disassembly Question
First, what I've managed to do is I've learned a bit about 6502 disassembly by porting someone's Java code into C++. Now what I want to ask: 1) While the code does function for mapper #0, are all other mappers similar enough to allow me to reuse the code directly? 1a) If not, what do I need to accou...