BBC native code to github?

Got a programming project in mind? Tell everyone about it!
User avatar
pstnotpd
Posts: 392
Joined: Wed Jan 20, 2010 11:05 am

BBC native code to github?

Postby pstnotpd » Sun Mar 26, 2017 5:32 pm

@all,

I'm reviving one of my old 6502 assembler projects which, for old times' sake, I'm doing natively in the inline assembler. (master mode though, I'm not that much of a masochist)

As I like to share my efforts for improvements I'm wondering how best to do this using github.

Sharing it as an ssd in basic would wreak havoc with the code changes so preferably it would be and *EXEC-able listing. I believe JGHarston uses this on mdsf.net

I suppose we also would need beebasm, ophis, etc. specific areas

As we don't have any "native" code yet, how should we proceed?

User avatar
lazarusr
Posts: 620
Joined: Thu Sep 10, 2015 8:56 pm
Location: London

Re: BBC native code to github?

Postby lazarusr » Sun Mar 26, 2017 5:52 pm

You can post any code you like on GitHub. If it recognises the language it does syntax highlighting. But it will work fine with any language, displaying it as formatted text. It will still track and display the changes between commits.

In my BeebOPL project, I kept the BeebAsm 6502 code up-to-date and placed a newly compiled SSD image as and when there were sufficient changes to justify it.

User avatar
pstnotpd
Posts: 392
Joined: Wed Jan 20, 2010 11:05 am

Re: BBC native code to github?

Postby pstnotpd » Tue Mar 28, 2017 7:30 pm

How did you post your .bbc files from the actual machine?

User avatar
lazarusr
Posts: 620
Joined: Thu Sep 10, 2015 8:56 pm
Location: London

Re: BBC native code to github?

Postby lazarusr » Tue Mar 28, 2017 7:36 pm

pstnotpd wrote:How did you post your .bbc files from the actual machine?

I didn't. I did all my coding on my PC.

User avatar
FourthStone
Posts: 400
Joined: Thu Nov 17, 2016 2:29 am
Location: Melbourne, Australia

Re: BBC native code to github?

Postby FourthStone » Wed Mar 29, 2017 12:12 am

lazarusr wrote:I didn't. I did all my coding on my PC.


Yep same here, all my Basic and ASM coding is done in Notepad++, then I use beebasm to import files and compile into an ssd for use in Beebem or transfer to a real beeb.

If I am just testing something out in Basic I still use Notepad and copy and paste into Beebem, or if I need to get a listing out of beebem the use the copy function to put in the windows clipboard.

User avatar
sydney
Posts: 1987
Joined: Wed May 18, 2005 9:09 am
Location: Newcastle upon Tyne

Re: BBC native code to github?

Postby sydney » Wed Mar 29, 2017 5:55 am

To get your code out of beebem you can print it to a file or the clipboard and simply paste it where you want it. Turn on the printer in the menu options and type the following.

Code: Select all

VDU 2
LIST
VDU 3

User avatar
pstnotpd
Posts: 392
Joined: Wed Jan 20, 2010 11:05 am

Re: BBC native code to github?

Postby pstnotpd » Wed Mar 29, 2017 1:14 pm

Tnx, all. Just tried it and that'll work for me :D

User avatar
flynnjs
Posts: 758
Joined: Tue Jul 06, 2010 9:33 pm

Re: BBC native code to github?

Postby flynnjs » Wed Mar 29, 2017 2:17 pm

Anyone fancy porting git to Beeb ? :mrgreen:

User avatar
pstnotpd
Posts: 392
Joined: Wed Jan 20, 2010 11:05 am

Re: BBC native code to github?

Postby pstnotpd » Wed Mar 29, 2017 5:45 pm

Given the choice of co-pro's currently available...... :P

And we do have github access

But GIT to adfs?

User avatar
lazarusr
Posts: 620
Joined: Thu Sep 10, 2015 8:56 pm
Location: London

Re: BBC native code to github?

Postby lazarusr » Wed Mar 29, 2017 5:55 pm

All we need to do is get Unix running on an x86 co-pro... :lol:

User avatar
pstnotpd
Posts: 392
Joined: Wed Jan 20, 2010 11:05 am

Re: BBC native code to github?

Postby pstnotpd » Wed Mar 29, 2017 6:15 pm

I've done some diggin' years back and I think it would be possible......



Challenge?

P.S. but it would be native ARM


Return to “projects”

Who is online

Users browsing this forum: No registered users and 2 guests