dp111 / picotube Goto Github PK
View Code? Open in Web Editor NEWRaspberry Pi Pico to BBC Micro Tube 6502 Core
Raspberry Pi Pico to BBC Micro Tube 6502 Core
Hi,
as you're aware, I am currently working on a VIC-20 emulator for the Raspberry Pi Pico. However, I am having a hard time modifying the assembly code to get it to call an external C function. Specifically, I am having trouble doing anything in the LOAD_BYTE macro. Event if I just add the following :
push {r0-r3}
pop {r0-r3}
before the ldrb \rdst,[ rmem, \rsrc]
line, the Pico crashes immediately (in my ignorance, I have adjusted the tablend
label to tablend: . = 256*(I_ALIGN+1)
to get it to fit. Could that be what's causing the issue ? )
Basically what I would like to achieve would be to replace ldrb \rdst,[ rmem, \rsrc]
with a call to a C function that gets passed the address and returns the data.
Any guidance to help me along while I'm familiarizing myself with ARM assembly would be great.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.