6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 10, 2024 5:33 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri Jun 21, 2019 11:33 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10975
Location: England
This might be of interest - it's a work in progress:
https://github.com/TheEnbyperor/bbc-c#bbc-c
"C compiler for the BBC Micro series of micros"

Includes
    bbcvm a custom 32-bit x86-like virtual machine for the 6502


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 21, 2019 2:15 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10975
Location: England
(This project is a cross-compiler to a VM running on a 6502. It's perfectly worthwhile, but personally, I'm much more interested in a C compiler that runs on the 6502 - even if it targets a virtual machine. It's a harder problem, to be sure. Open source is a must, of course. Even better if the compiler is written in C! But that's not truly important.)


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 05, 2019 3:29 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10975
Location: England
(Handyandy reminds us of Hyper C, which has a 32 bit VM, (Edit: oops, no, see below,) mentioned in this earlier compiler thread:
viewtopic.php?f=1&t=4314&start=45
)


Last edited by BigEd on Sat Jul 06, 2019 1:56 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 06, 2019 1:35 pm 
Offline

Joined: Mon Sep 14, 2015 8:50 pm
Posts: 111
Location: Virginia USA
Hyper C is actually a 16 bit VM for a 6502 or 65c02. It runs on the Apple II family of computers but modifying the source code it can be ported to other platforms and other CPUs like a 65816 in native mode. I'm not sure of modifying it to a 32 bit VM; that might break the tools. It came out before ANSI C so it's like K&R C.

Cheers,
Andy


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: