MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

AJR Hacker
MAME Developer
Reged: 02/01/16
Posts: 144
Send PM
Re: emulation code: where to start?
05/11/23 06:18 AM


> Hi
>
> I wrote a CHIP-8 emulator in Python, just because of the ease of use of this
> language.
>
> I understand how CHIP-8 works and understand the very basics of emulation.
>
> Now I want to take a small step further.
>
> I have several questions:

...

> - do you know guides online on how to learn the hardware of the example I ask above?

CHIP-8 is an example of a virtual machine. While virtual machines are great for learning how to program in low-level languages, virtual machines are abstractions that tend to obscure the hardware of the actual machines they run on. The more popular virtual machines have been reimplemented on many host architectures, and implementation details often leak through and cause incompatibilities on different host systems. See this comment in particular: https://github.com/mamedev/mame/issues/9246#issuecomment-1028161396

MAME generally does not emulate virtual machines themselves. However, emulating any actual piece of hardware that runs a virtual machine is entirely within scope, even if that hardware was custom-designed for that purpose and no other.







Entire thread
Subject Posted by Posted on
* emulation code: where to start? tommygamer 05/09/23 04:08 AM
. * Re: emulation code: where to start? AJR Hacker  05/11/23 06:18 AM
. * Re: emulation code: where to start? tommygamer  05/11/23 07:19 PM
. * Re: emulation code: where to start? anikom15  05/11/23 10:43 PM
. * Re: emulation code: where to start? tommygamer  05/12/23 07:31 PM
. * Re: emulation code: where to start? anikom15  05/12/23 08:00 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 370 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 423