SlideShare a Scribd company logo
1 of 28
Download to read offline
FOSDEM, 2024
Bruxelles, February 4th
Neo6502 in the Matrix
open source hardware and software
modern retro computer with software
defined architecture
$whoami
Tsvetan Usunov === OLIMEX Ltd
www.olimex.com
OLIMEX company is dealing with electronic design and
production more than 30 years.
1000+ originally designed products, most of them OSHW.
All OLIMEX products are manufactured in Plovdiv, Bulgaria.
Retro Computers Sentiment
My first encounter with a
computer was in the distant year
of 1982.
It was the IMKO-2, later renamed
to Pravetz-82—an Apple ][ clone
manufactured in Bulgaria.
Pravetz-8D
Pravetz-82 was very expensive, costing
between $6000 and $7000. A few years
later, Pravetz-8D (a copy of the Oric-Atmos)
was released for around $400, making it
more affordable, even for students to save
up and have one at home.
I acquired one, but without a disk drive, it
was not very useful for anything other than
learning to code small programs.
Puldin 601
Puldin 601 was the first originally designed
computer in Bulgaria.
It was based on the Motorola 6800
processor with 64K RAM, 68K ROM, and all
the software was written from scratch in
Pascal.
Can you guess where it was manufactured?
In my hometown – Plovdiv.
AgonLight OSHW Retro Computer
At the end of 2020, I received a few emails
from customers informing me about the
AgonLight OSHW Retro computer, featuring a
Z80 running at 18 MHz with 512KB RAM and
an ESP32 co-processor for Graphics and
Audio.
The creator Bernardo Kastrup was in search of
a partner to manufacture it.
AgonLight
Initially, I was skeptical, given our previous
negative experience with a similar project—
The Maximite, which was claimed to be open
source but was not due to ego problems of its
creator.
However, after some email exchanges with
Bernardo, I became interested and decided to
take on the challenge.
AgonLight2
This is how AgonLight2 was made.
We made some small changes to
make it more manufacturable and
match our production process.
AgonLight was initially manufactured
by PCBWay for $150.
After the OLIMEX redesign, we were
able to produce and sell it for €50.
AgonLight Community
The sales began at the end of January 2023.
AgonLight quickly became very popular for being both powerful
and affordable.
The Facebook group quickly grew to over 1500 people, and a
plethora of programs and tools were developed, in addition to
the initial BBC BASIC. These included a Text Editor, Z80
Assembler, ez80 Programmer, WiFi Gopher browser, Forth, Audio
Player, and Games. Furthermore, there were forks,
improvements, and bug fixes for FabGL.
6502
Some people in the AgonLight Facebook Group
started asking if the same concept of a retro
computer could be done with the 6502. The
6502 was my first assembly language from
the Apple II, so it holds a special place in my
heart, and the next move seemed logical.
6502 the research
I checked what was available and was not impressed.
There were plenty of expensive kits or monster boards,
all with antique VGA video and PS2 keyboards. None of
these designs were utilizing modern peripherals like
decent HDMI/DVI video and USB keyboards or USB
flash/hard drives. So, I took this as a challenge: to build
an affordable EUR 50 retro computer with a 6502 that
would be 'modern'
RP2040
The RP2040 is a small dual-core Cortex-M0
processor from the Raspberry Pi Foundation.
With the Raspberry Pi having a huge
community, numerous projects were quickly
developed once it was released. PicoDVI and
TinyUSB, in particular, were just what I needed
In search for simplicity
I just had to add a 6502 and some RAM to the RP2040,
and I would have a computer with HDMI and USB host
capabilities.
Then I wondered, what if the RP2040 could emulate the
RAM too? So, I decided to remove everything and leave
just one 6502 and the RP2040 connected to it, handling
everything else—emulating the memory, audio, video,
keyboard, disk drive, everything!
The Matrix
This resembles the Matrix movie, where
the humble 6502 lives in an emulated
world where nothing is real: memory,
video, audio, disks, keyboard, etc.
This is where the name Neo6502 came
from.
Neo6502
Stripping the design
down to just two core
chips also allowed the
price to go even lower.
The Neo6502 hardware
was released for EUR 30.
The Software crew
The hardware concept was ready, and we built
some prototypes. Then, I called for help with the
software development.
A lot of people responded, and I sent them free
boards; a few of them started to develop
actively. A Discord group for Neo6502 developers
was created
Rien Matthijsse
Rien was the first to come with working
Neo6502 firmware
https://github.com/marobi
He made bit-bang RAM emulator + picoDVI
and ported BBC Basic and EHbasic for
Neo6502.
Vesselin Sladkov
Veselin surprised me in August 2023 with the
Reload emulator, providing full Apple][, Apple][e,
and Oric-Atmos emulation on Neo6502.
https://github.com/vsladkov/reload-emulator
He first implemented picoDVI to work with USB
host, supporting keyboards and flash drives.
This meant Neo6502 could run Total Replay
with 32MB of Apple II games and apps.
Sascha Schneider
Sascha made the PIO memory emulator, which
allowed the 6502 to start working from 1.5 MHz to
6.25 MHz
https://github.com/astralaster
He is also very helpful with project improvements,
code cleaning, and porting. Whenever someone from
the other crew members has troubles with git or
library integration, he helps out.
Oliver Schmidt
Oliver is well-known within the 6502
community for his contributions to a
number of Apple ][ related projects,
including A2pico, AppleWin, A2stream.
https://github.com/oliverschmidt
He has been interested in the Neo6502
concept from the beginning and has been
very helpful with his advice and experience.
Paul Scott Robson
Paul, like Oliver, is very well-known
within the 6502 community, and you
can see his work wherever the 6502 is
involved.
https://github.com/paulscottrobson
He created NeoBasic and an emulator,
specially made for Neo6502, which
allowed all the merits of the Neo6502
concept to shine.
NeoBasic
The W65C02 in Neo6502 runs at only a
humble 6.25 MHz, but thanks to the 'magic'
that Paul Robson performs to offload 6502
activities where the processor is not adept, the
RP2040 yields great results. Tasks such as
variable arithmetic operations, including
multiplication, division, floating-point
operations, string manipulations, graphics
rendering, moving sprites, and loading images,
are all delegated to the RP2040.
The Neo6502 advantage
The major advantage of the Neo6502
architecture over others is that all the resources
—RAM, Flash, Video, Audio—are inside a
single RP2040. So, the 6502 only has to 'give
commands' to the RP2040 and not move any
data to it.
This makes the Neo6502 very efficient.
Benchmark
Demos
Line Draw
https://www.youtube.com/watch?v=ejfrfaPSllg
Galaxyan demo written in 134 lines of NeoBasic code:
https://www.youtube.com/watch?v=7hHzmW51rvQ
Frogger demo written in 64 lines of NeoBasic code:
https://youtu.be/DxWsGMyfBoA
The sources are here:
https://github.com/paulscottrobson/neo6502-firmware/tree/main
/basic/code/games
What’s next
USB-NeoHUB
Joysticks support
RetroDuino libraries
GPIO, I2C, SPI, UART accessable by
NeoBasic – home automation, Arduino like
projects controlled in BASIC
Neo6502-Laptop
Why bother to make Retro Computers?
Programming machines with
limited resources provokes
thinking and fosters good
programming habits.
It's a great hobby and a way to
release steam after an intense day.
It's a pleasure to solve problems
that seem impossible at first sight.
Questions?
Follow us:
Neo6502 developers on Discord https://discord.gg/MDahtkvAdA
Web www.olimex.com
Wordpress https://olimex.wordpress.com/
Twitter https://twitter.com/Olimex
Facebook https://www.facebook.com/OLINUXINO
Mastodon https://mastodon.social/@olimex

More Related Content

Similar to FOSDEM 2024 Neo in the Matrix

Taller IoT en la Actualidad
Taller IoT en la ActualidadTaller IoT en la Actualidad
Taller IoT en la ActualidadLaurence HR
 
Hacker's friendly Open Source Hardware DIY modular Laptop
Hacker's friendly Open Source Hardware DIY modular LaptopHacker's friendly Open Source Hardware DIY modular Laptop
Hacker's friendly Open Source Hardware DIY modular LaptopOlimex Bulgaria
 
Overview of the Intel® Internet of Things Developer Kit
Overview of the Intel® Internet of Things Developer KitOverview of the Intel® Internet of Things Developer Kit
Overview of the Intel® Internet of Things Developer KitIntel® Software
 
From Prototype to Kickstarter to Production: How blink(1) was made
From Prototype to Kickstarter to Production: How blink(1) was madeFrom Prototype to Kickstarter to Production: How blink(1) was made
From Prototype to Kickstarter to Production: How blink(1) was madetodbotdotcom
 
Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)
Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)
Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)ariannaschlegel
 
ODROID Magazine June 2014
ODROID Magazine June 2014ODROID Magazine June 2014
ODROID Magazine June 2014Nanik Tolaram
 
Dockerizing IoT Services
Dockerizing IoT ServicesDockerizing IoT Services
Dockerizing IoT Servicesmsyukor
 
Introduction of raspberry pi
Introduction of raspberry piIntroduction of raspberry pi
Introduction of raspberry pipankaj478
 
Developing a NodeBot using Intel XDK IoT Edition
Developing a NodeBot using Intel XDK IoT EditionDeveloping a NodeBot using Intel XDK IoT Edition
Developing a NodeBot using Intel XDK IoT EditionIntel® Software
 
Shhh, they're listening, a subjective history of the Internet of Things
Shhh, they're listening, a subjective history of the Internet of ThingsShhh, they're listening, a subjective history of the Internet of Things
Shhh, they're listening, a subjective history of the Internet of ThingsAlexandra Deschamps-Sonsino
 
Developing an open source hardware laptop with KiCad fosdem 2018
Developing an open source hardware laptop with KiCad fosdem 2018Developing an open source hardware laptop with KiCad fosdem 2018
Developing an open source hardware laptop with KiCad fosdem 2018Olimex Bulgaria
 
Advanced View Arduino Projects List - Use Arduino for Projects.pdf
Advanced View Arduino Projects List - Use Arduino for Projects.pdfAdvanced View Arduino Projects List - Use Arduino for Projects.pdf
Advanced View Arduino Projects List - Use Arduino for Projects.pdfIsmailkhan77481
 
Advanced View Arduino Projects List - Use Arduino for Projects 3.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 3.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 3.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 3.pdfWiseNaeem
 
Internet of Things - Technological Perspective
Internet of Things - Technological PerspectiveInternet of Things - Technological Perspective
Internet of Things - Technological PerspectiveAndri Yadi
 
ODROID Magazine December 2014
 ODROID Magazine December 2014 ODROID Magazine December 2014
ODROID Magazine December 2014Nanik Tolaram
 

Similar to FOSDEM 2024 Neo in the Matrix (20)

Taller IoT en la Actualidad
Taller IoT en la ActualidadTaller IoT en la Actualidad
Taller IoT en la Actualidad
 
Hacker's friendly Open Source Hardware DIY modular Laptop
Hacker's friendly Open Source Hardware DIY modular LaptopHacker's friendly Open Source Hardware DIY modular Laptop
Hacker's friendly Open Source Hardware DIY modular Laptop
 
Overview of the Intel® Internet of Things Developer Kit
Overview of the Intel® Internet of Things Developer KitOverview of the Intel® Internet of Things Developer Kit
Overview of the Intel® Internet of Things Developer Kit
 
From Prototype to Kickstarter to Production: How blink(1) was made
From Prototype to Kickstarter to Production: How blink(1) was madeFrom Prototype to Kickstarter to Production: How blink(1) was made
From Prototype to Kickstarter to Production: How blink(1) was made
 
Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)
Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)
Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)
 
ODROID Magazine June 2014
ODROID Magazine June 2014ODROID Magazine June 2014
ODROID Magazine June 2014
 
Dockerizing IoT Services
Dockerizing IoT ServicesDockerizing IoT Services
Dockerizing IoT Services
 
Introduction of raspberry pi
Introduction of raspberry piIntroduction of raspberry pi
Introduction of raspberry pi
 
Developing a NodeBot using Intel XDK IoT Edition
Developing a NodeBot using Intel XDK IoT EditionDeveloping a NodeBot using Intel XDK IoT Edition
Developing a NodeBot using Intel XDK IoT Edition
 
Introduction to Raspberry PI
Introduction to Raspberry PIIntroduction to Raspberry PI
Introduction to Raspberry PI
 
Shhh, they're listening, a subjective history of the Internet of Things
Shhh, they're listening, a subjective history of the Internet of ThingsShhh, they're listening, a subjective history of the Internet of Things
Shhh, they're listening, a subjective history of the Internet of Things
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Developing an open source hardware laptop with KiCad fosdem 2018
Developing an open source hardware laptop with KiCad fosdem 2018Developing an open source hardware laptop with KiCad fosdem 2018
Developing an open source hardware laptop with KiCad fosdem 2018
 
Advanced View Arduino Projects List - Use Arduino for Projects.pdf
Advanced View Arduino Projects List - Use Arduino for Projects.pdfAdvanced View Arduino Projects List - Use Arduino for Projects.pdf
Advanced View Arduino Projects List - Use Arduino for Projects.pdf
 
Advanced View Arduino Projects List - Use Arduino for Projects 3.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 3.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 3.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 3.pdf
 
Internet of Things - Technological Perspective
Internet of Things - Technological PerspectiveInternet of Things - Technological Perspective
Internet of Things - Technological Perspective
 
Feature satip4
Feature satip4Feature satip4
Feature satip4
 
Feature satip4
Feature satip4Feature satip4
Feature satip4
 
ODROID Magazine December 2014
 ODROID Magazine December 2014 ODROID Magazine December 2014
ODROID Magazine December 2014
 
Feature satip4
Feature satip4Feature satip4
Feature satip4
 

More from Olimex Bulgaria

FOSDEM 2024 Electronic boards production automation with KiCAD scripts
FOSDEM 2024 Electronic boards production automation with KiCAD scriptsFOSDEM 2024 Electronic boards production automation with KiCAD scripts
FOSDEM 2024 Electronic boards production automation with KiCAD scriptsOlimex Bulgaria
 
Open fest 2019 WiFi mesh for monitoring and control of large areas
Open fest 2019 WiFi mesh for monitoring and control of large areasOpen fest 2019 WiFi mesh for monitoring and control of large areas
Open fest 2019 WiFi mesh for monitoring and control of large areasOlimex Bulgaria
 
NB-IoT technology RuseConf 2019 Bulgarian
NB-IoT technology RuseConf 2019 BulgarianNB-IoT technology RuseConf 2019 Bulgarian
NB-IoT technology RuseConf 2019 BulgarianOlimex Bulgaria
 
NB-IoT technology RuseConf 2019
NB-IoT technology RuseConf 2019NB-IoT technology RuseConf 2019
NB-IoT technology RuseConf 2019Olimex Bulgaria
 
Open Source Hardware for Smart City Fosdem 2019
Open Source Hardware for Smart City Fosdem 2019Open Source Hardware for Smart City Fosdem 2019
Open Source Hardware for Smart City Fosdem 2019Olimex Bulgaria
 
Open Source Hardware for Industry 4.0
Open Source Hardware for Industry 4.0Open Source Hardware for Industry 4.0
Open Source Hardware for Industry 4.0Olimex Bulgaria
 
Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...
Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...
Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...Olimex Bulgaria
 
Как технологиите с отворен код могат да помогнат Вашият град да стане по-добр...
Как технологиите с отворен код могат да помогнат Вашият град да стане по-добр...Как технологиите с отворен код могат да помогнат Вашият град да стане по-добр...
Как технологиите с отворен код могат да помогнат Вашият град да стане по-добр...Olimex Bulgaria
 
How the Open Source technologies can help your city to become an better place...
How the Open Source technologies can help your city to become an better place...How the Open Source technologies can help your city to become an better place...
How the Open Source technologies can help your city to become an better place...Olimex Bulgaria
 
Hacking Soldering Robot with TERES-I DIY laptop
Hacking Soldering Robot with TERES-I DIY laptopHacking Soldering Robot with TERES-I DIY laptop
Hacking Soldering Robot with TERES-I DIY laptopOlimex Bulgaria
 
Open Source Hardware. Why we do it, why it matters?
Open Source Hardware. Why we do it, why it matters?Open Source Hardware. Why we do it, why it matters?
Open Source Hardware. Why we do it, why it matters?Olimex Bulgaria
 
Designing with KiCAD of 64-bit ARM board
Designing with KiCAD of 64-bit ARM boardDesigning with KiCAD of 64-bit ARM board
Designing with KiCAD of 64-bit ARM boardOlimex Bulgaria
 
SMT technology design and production
SMT technology design and productionSMT technology design and production
SMT technology design and productionOlimex Bulgaria
 
Physical Computing with Linux
Physical Computing with LinuxPhysical Computing with Linux
Physical Computing with LinuxOlimex Bulgaria
 
OpenFest 2013 Open Source Hardware (OSHW) made in Bulgaria
OpenFest 2013 Open Source Hardware (OSHW) made in BulgariaOpenFest 2013 Open Source Hardware (OSHW) made in Bulgaria
OpenFest 2013 Open Source Hardware (OSHW) made in BulgariaOlimex Bulgaria
 

More from Olimex Bulgaria (16)

FOSDEM 2024 Electronic boards production automation with KiCAD scripts
FOSDEM 2024 Electronic boards production automation with KiCAD scriptsFOSDEM 2024 Electronic boards production automation with KiCAD scripts
FOSDEM 2024 Electronic boards production automation with KiCAD scripts
 
Open fest 2019 WiFi mesh for monitoring and control of large areas
Open fest 2019 WiFi mesh for monitoring and control of large areasOpen fest 2019 WiFi mesh for monitoring and control of large areas
Open fest 2019 WiFi mesh for monitoring and control of large areas
 
NB-IoT technology RuseConf 2019 Bulgarian
NB-IoT technology RuseConf 2019 BulgarianNB-IoT technology RuseConf 2019 Bulgarian
NB-IoT technology RuseConf 2019 Bulgarian
 
NB-IoT technology RuseConf 2019
NB-IoT technology RuseConf 2019NB-IoT technology RuseConf 2019
NB-IoT technology RuseConf 2019
 
Open Source Hardware for Smart City Fosdem 2019
Open Source Hardware for Smart City Fosdem 2019Open Source Hardware for Smart City Fosdem 2019
Open Source Hardware for Smart City Fosdem 2019
 
Open Source Hardware for Industry 4.0
Open Source Hardware for Industry 4.0Open Source Hardware for Industry 4.0
Open Source Hardware for Industry 4.0
 
Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...
Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...
Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...
 
Как технологиите с отворен код могат да помогнат Вашият град да стане по-добр...
Как технологиите с отворен код могат да помогнат Вашият град да стане по-добр...Как технологиите с отворен код могат да помогнат Вашият град да стане по-добр...
Как технологиите с отворен код могат да помогнат Вашият град да стане по-добр...
 
How the Open Source technologies can help your city to become an better place...
How the Open Source technologies can help your city to become an better place...How the Open Source technologies can help your city to become an better place...
How the Open Source technologies can help your city to become an better place...
 
Hacking Soldering Robot with TERES-I DIY laptop
Hacking Soldering Robot with TERES-I DIY laptopHacking Soldering Robot with TERES-I DIY laptop
Hacking Soldering Robot with TERES-I DIY laptop
 
Robko js
Robko jsRobko js
Robko js
 
Open Source Hardware. Why we do it, why it matters?
Open Source Hardware. Why we do it, why it matters?Open Source Hardware. Why we do it, why it matters?
Open Source Hardware. Why we do it, why it matters?
 
Designing with KiCAD of 64-bit ARM board
Designing with KiCAD of 64-bit ARM boardDesigning with KiCAD of 64-bit ARM board
Designing with KiCAD of 64-bit ARM board
 
SMT technology design and production
SMT technology design and productionSMT technology design and production
SMT technology design and production
 
Physical Computing with Linux
Physical Computing with LinuxPhysical Computing with Linux
Physical Computing with Linux
 
OpenFest 2013 Open Source Hardware (OSHW) made in Bulgaria
OpenFest 2013 Open Source Hardware (OSHW) made in BulgariaOpenFest 2013 Open Source Hardware (OSHW) made in Bulgaria
OpenFest 2013 Open Source Hardware (OSHW) made in Bulgaria
 

Recently uploaded

Connecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKConnecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKUXDXConf
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaCzechDreamin
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfSrushith Repakula
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfFIDO Alliance
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfFIDO Alliance
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftshyamraj55
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomCzechDreamin
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxJennifer Lim
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...CzechDreamin
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxDavid Michel
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераMark Opanasiuk
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Julian Hyde
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutesconfluent
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024Stephanie Beckett
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Patrick Viafore
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyJohn Staveley
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsStefano
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfFIDO Alliance
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon
 

Recently uploaded (20)

Connecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKConnecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAK
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 

FOSDEM 2024 Neo in the Matrix

  • 1. FOSDEM, 2024 Bruxelles, February 4th Neo6502 in the Matrix open source hardware and software modern retro computer with software defined architecture
  • 2. $whoami Tsvetan Usunov === OLIMEX Ltd www.olimex.com OLIMEX company is dealing with electronic design and production more than 30 years. 1000+ originally designed products, most of them OSHW. All OLIMEX products are manufactured in Plovdiv, Bulgaria.
  • 3. Retro Computers Sentiment My first encounter with a computer was in the distant year of 1982. It was the IMKO-2, later renamed to Pravetz-82—an Apple ][ clone manufactured in Bulgaria.
  • 4. Pravetz-8D Pravetz-82 was very expensive, costing between $6000 and $7000. A few years later, Pravetz-8D (a copy of the Oric-Atmos) was released for around $400, making it more affordable, even for students to save up and have one at home. I acquired one, but without a disk drive, it was not very useful for anything other than learning to code small programs.
  • 5. Puldin 601 Puldin 601 was the first originally designed computer in Bulgaria. It was based on the Motorola 6800 processor with 64K RAM, 68K ROM, and all the software was written from scratch in Pascal. Can you guess where it was manufactured? In my hometown – Plovdiv.
  • 6. AgonLight OSHW Retro Computer At the end of 2020, I received a few emails from customers informing me about the AgonLight OSHW Retro computer, featuring a Z80 running at 18 MHz with 512KB RAM and an ESP32 co-processor for Graphics and Audio. The creator Bernardo Kastrup was in search of a partner to manufacture it.
  • 7. AgonLight Initially, I was skeptical, given our previous negative experience with a similar project— The Maximite, which was claimed to be open source but was not due to ego problems of its creator. However, after some email exchanges with Bernardo, I became interested and decided to take on the challenge.
  • 8. AgonLight2 This is how AgonLight2 was made. We made some small changes to make it more manufacturable and match our production process. AgonLight was initially manufactured by PCBWay for $150. After the OLIMEX redesign, we were able to produce and sell it for €50.
  • 9. AgonLight Community The sales began at the end of January 2023. AgonLight quickly became very popular for being both powerful and affordable. The Facebook group quickly grew to over 1500 people, and a plethora of programs and tools were developed, in addition to the initial BBC BASIC. These included a Text Editor, Z80 Assembler, ez80 Programmer, WiFi Gopher browser, Forth, Audio Player, and Games. Furthermore, there were forks, improvements, and bug fixes for FabGL.
  • 10. 6502 Some people in the AgonLight Facebook Group started asking if the same concept of a retro computer could be done with the 6502. The 6502 was my first assembly language from the Apple II, so it holds a special place in my heart, and the next move seemed logical.
  • 11. 6502 the research I checked what was available and was not impressed. There were plenty of expensive kits or monster boards, all with antique VGA video and PS2 keyboards. None of these designs were utilizing modern peripherals like decent HDMI/DVI video and USB keyboards or USB flash/hard drives. So, I took this as a challenge: to build an affordable EUR 50 retro computer with a 6502 that would be 'modern'
  • 12. RP2040 The RP2040 is a small dual-core Cortex-M0 processor from the Raspberry Pi Foundation. With the Raspberry Pi having a huge community, numerous projects were quickly developed once it was released. PicoDVI and TinyUSB, in particular, were just what I needed
  • 13. In search for simplicity I just had to add a 6502 and some RAM to the RP2040, and I would have a computer with HDMI and USB host capabilities. Then I wondered, what if the RP2040 could emulate the RAM too? So, I decided to remove everything and leave just one 6502 and the RP2040 connected to it, handling everything else—emulating the memory, audio, video, keyboard, disk drive, everything!
  • 14. The Matrix This resembles the Matrix movie, where the humble 6502 lives in an emulated world where nothing is real: memory, video, audio, disks, keyboard, etc. This is where the name Neo6502 came from.
  • 15. Neo6502 Stripping the design down to just two core chips also allowed the price to go even lower. The Neo6502 hardware was released for EUR 30.
  • 16. The Software crew The hardware concept was ready, and we built some prototypes. Then, I called for help with the software development. A lot of people responded, and I sent them free boards; a few of them started to develop actively. A Discord group for Neo6502 developers was created
  • 17. Rien Matthijsse Rien was the first to come with working Neo6502 firmware https://github.com/marobi He made bit-bang RAM emulator + picoDVI and ported BBC Basic and EHbasic for Neo6502.
  • 18. Vesselin Sladkov Veselin surprised me in August 2023 with the Reload emulator, providing full Apple][, Apple][e, and Oric-Atmos emulation on Neo6502. https://github.com/vsladkov/reload-emulator He first implemented picoDVI to work with USB host, supporting keyboards and flash drives. This meant Neo6502 could run Total Replay with 32MB of Apple II games and apps.
  • 19. Sascha Schneider Sascha made the PIO memory emulator, which allowed the 6502 to start working from 1.5 MHz to 6.25 MHz https://github.com/astralaster He is also very helpful with project improvements, code cleaning, and porting. Whenever someone from the other crew members has troubles with git or library integration, he helps out.
  • 20. Oliver Schmidt Oliver is well-known within the 6502 community for his contributions to a number of Apple ][ related projects, including A2pico, AppleWin, A2stream. https://github.com/oliverschmidt He has been interested in the Neo6502 concept from the beginning and has been very helpful with his advice and experience.
  • 21. Paul Scott Robson Paul, like Oliver, is very well-known within the 6502 community, and you can see his work wherever the 6502 is involved. https://github.com/paulscottrobson He created NeoBasic and an emulator, specially made for Neo6502, which allowed all the merits of the Neo6502 concept to shine.
  • 22. NeoBasic The W65C02 in Neo6502 runs at only a humble 6.25 MHz, but thanks to the 'magic' that Paul Robson performs to offload 6502 activities where the processor is not adept, the RP2040 yields great results. Tasks such as variable arithmetic operations, including multiplication, division, floating-point operations, string manipulations, graphics rendering, moving sprites, and loading images, are all delegated to the RP2040.
  • 23. The Neo6502 advantage The major advantage of the Neo6502 architecture over others is that all the resources —RAM, Flash, Video, Audio—are inside a single RP2040. So, the 6502 only has to 'give commands' to the RP2040 and not move any data to it. This makes the Neo6502 very efficient.
  • 25. Demos Line Draw https://www.youtube.com/watch?v=ejfrfaPSllg Galaxyan demo written in 134 lines of NeoBasic code: https://www.youtube.com/watch?v=7hHzmW51rvQ Frogger demo written in 64 lines of NeoBasic code: https://youtu.be/DxWsGMyfBoA The sources are here: https://github.com/paulscottrobson/neo6502-firmware/tree/main /basic/code/games
  • 26. What’s next USB-NeoHUB Joysticks support RetroDuino libraries GPIO, I2C, SPI, UART accessable by NeoBasic – home automation, Arduino like projects controlled in BASIC Neo6502-Laptop
  • 27. Why bother to make Retro Computers? Programming machines with limited resources provokes thinking and fosters good programming habits. It's a great hobby and a way to release steam after an intense day. It's a pleasure to solve problems that seem impossible at first sight.
  • 28. Questions? Follow us: Neo6502 developers on Discord https://discord.gg/MDahtkvAdA Web www.olimex.com Wordpress https://olimex.wordpress.com/ Twitter https://twitter.com/Olimex Facebook https://www.facebook.com/OLINUXINO Mastodon https://mastodon.social/@olimex