Jonas Minnberg: A 6502 emulator with C++

  Рет қаралды 1,461

SwedenCpp

SwedenCpp

Күн бұрын

How to write a 6502 emulator with C++ & templates instead of the traditional C & macros, and proving it is still fast (using automatic disassembly of generated opcodes)
Link to the emulator: github.com/sas...
Recorded at StockholmCpp0x2B.
The event page: www.meetup.com...
This meetup was kindly hosted by Svenska Spel: www.svenskaspe...
More information about C++ Usergroups in Sweden at: www.swedencpp.se/

Пікірлер: 13
@MattGodbolt
@MattGodbolt 10 ай бұрын
Thanks!
@SwedenCpp
@SwedenCpp 9 ай бұрын
Thank you for supporting this channel!
@valshaped
@valshaped 4 ай бұрын
C++: I have zero costs 6502: C++: I have one cost
@varshneydevansh
@varshneydevansh 9 ай бұрын
Amazing talk
@stephenwhite506
@stephenwhite506 9 ай бұрын
Very interesting talk, thanks. I have been trying to convert my Pi1541 code to run on a Pi Pico, a Cortex-M0 and need the fastest code possible. I have been viewing the disassembly of every instruction to see what the compiler generated and altering the C code to get the most efficient output. I am finding that macros still beat static inline functions. It will be interesting to test out the presenter's code/ideas and see how it compares to the generated assembly.
@JonasMinnberg
@JonasMinnberg 9 ай бұрын
I am guessing you want to run it on a Neo6502? EDIT: Ah, misread, it was the Pico. But if you manage that you could also run it on the Neo6502...
@MagnusOsterlund
@MagnusOsterlund 9 ай бұрын
Where can I see the source code for the emulator?
@JonasMinnberg
@JonasMinnberg 9 ай бұрын
I tried to reply with a github link but the comment gets consistently deleted by youtube for some reason :(
@MagnusOsterlund
@MagnusOsterlund 9 ай бұрын
@@JonasMinnberg Give the address without the domain
@JonasMinnberg
@JonasMinnberg 9 ай бұрын
@@MagnusOsterlund It manages to outfox all my ways of referring to something at github...
@JonasMinnberg
@JonasMinnberg 9 ай бұрын
My repo can be seen in the intro screen. Then you need to select the dev branch and look in the src dir for the emulator (single header)
@SwedenCpp
@SwedenCpp 9 ай бұрын
I added the link to the video description, @MagnusOsterlund
Mathieu Ropert: Data Storage in Entity Component Systems
1:09:50
SwedenCpp
Рет қаралды 2,8 М.
Data Cleaning in Pandas | Python Pandas Tutorials
38:37
Alex The Analyst
Рет қаралды 305 М.
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 116 МЛН
Ozoda - Lada ( Official Music Video 2024 )
06:07
Ozoda
Рет қаралды 20 МЛН
Eric Landström: The bugs I remember
22:36
SwedenCpp
Рет қаралды 1 М.
Johan Berg: Building libraries on top of Boost.Asio
19:49
SwedenCpp
Рет қаралды 1,7 М.
Emulation - Computerphile
22:36
Computerphile
Рет қаралды 204 М.
A 6502 Simulator Mystery - Solved!
12:30
Tea Leaves
Рет қаралды 36 М.
Per-Magnus Holtmo: Using gRPC to fight Mordor
52:50
SwedenCpp
Рет қаралды 1 М.
#1 Ben Eater's 8 Bit Computer (SAP-1) in an FPGA: The Registers
25:57
Phil Does Tech
Рет қаралды 18 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 814 М.
WHY IS THE HEAP SO SLOW?
17:53
Core Dumped
Рет қаралды 229 М.
Emulating a CPU in C++ (6502)
52:28
Dave Poo
Рет қаралды 986 М.