It is currently Mon Oct 20, 2014 5:37 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Sample Code Library
PostPosted: Wed Jan 09, 2008 12:54 pm 
Offline
Site Admin
User avatar
 Profile

Joined: Wed Dec 19, 2007 10:41 pm
Posts: 373
Ok, so what's the best way to structure this?

Currently we have headings for BASIC Routines, Assembler Routines, Graphic Routines & Sound Routines, but I'm sure you lot will be able to suggest categories that are more appropriate?

Also, can anyone supply some example routines/content to get us started? I don't think we can make the site 'live' with all that latin there! ;)

Maybe Rich could dig out the 'Firetrack Scroll' he posted to the Beeb ML yonks ago?


Top
 
 Post subject: Re: Sample Code Library
PostPosted: Wed Jan 09, 2008 2:21 pm 
Online
User avatar
 Profile

Joined: Mon Jan 07, 2008 6:46 pm
Posts: 380
Location: Málaga, Spain
Hi, first post! :mrgreen:

Nice job you guys...

Yeah, there are a few things I'd like to throw in there:
    * The sprite routines (character row aligned, and any line) from Francis' sprite editor thread about a month ago.
    * The dot plotting routine (from the STH hardware forum).
    * Some sample code for the smooth vertical scroll (I posted a disc image recently).
    * Fast multiply routines (a post I made to the BBC Micro Mailing List way back when)

...maybe other stuff too...

Not sure when I'll have time to collate all this stuff and learn how to use the wiki (!), but will try and get some stuff together over the weekend!


Top
 
 Post subject: Re: Sample Code Library
PostPosted: Wed Jan 09, 2008 2:51 pm 
Offline
User avatar
 Profile

Joined: Wed Jan 09, 2008 7:30 am
Posts: 406
DaveM wrote:
Ok, so what's the best way to structure this?

Currently we have headings for BASIC Routines, Assembler Routines, Graphic Routines & Sound Routines, but I'm sure you lot will be able to suggest categories that are more appropriate?


With those headings where would you put an assembler or BASIC routine that did graphics or Sound. A sprite plotter could go in assembler or graphics.

Mmmmm... (thinks)..... (smell of wood burning)..... Maybe do away with the BASIC and assembler categories and just have the sub cats. In some cases assembler routines can be self contained where a person who knows BASIC could use the assembler routine without knowing (or needing to understand) how it works.

If self contained the poster could give an example of how to include it in and call it from BASIC.

So we'd could have assembler and BASIC routines within the same category.

I think Graphics and Sound are two good starting catgories.

Just my tuppence worth :)


Top
 
 Post subject: Re: Sample Code Library
PostPosted: Wed Jan 09, 2008 2:56 pm 
Online
User avatar
 Profile

Joined: Mon Jan 07, 2008 6:46 pm
Posts: 380
Location: Málaga, Spain
But how about stuff like how to do multiplies in assembler? Neither graphics nor sound... but probably a handy topic for someone nonetheless :) Someone's bound to want to write the next Elite...


Top
 
 Post subject: Re: Sample Code Library
PostPosted: Wed Jan 09, 2008 3:35 pm 
Offline
User avatar
 Profile

Joined: Wed Jan 09, 2008 7:30 am
Posts: 406
Perhaps a category of "Other Assembler" and "Other - BASIC". Or indeed a Maths Category, but we don't want to have too many categories though with only 2 or 3 posts in.

I'd say no matter what the main ones are we'll need some sort of "Other" category.


Top
 
 Post subject: Re: Sample Code Library
PostPosted: Wed Jan 09, 2008 10:13 pm 
Offline
Site Admin
User avatar
 Profile

Joined: Wed Dec 19, 2007 10:46 pm
Posts: 779
Excellent ... the discussions are starting. :)

I propose ppl start putting actual examples up there! Then we build the categories around them. If there aren't any BASIC examples, for instance, then we just drop that category.

Darwin was right with that evolution malarky - survival of the fittest!

Sam.


Top
 
 Post subject: Re: Sample Code Library
PostPosted: Fri Apr 04, 2008 10:51 pm 
Offline
User avatar
 WWW  Profile

Joined: Wed Jan 09, 2008 10:23 am
Posts: 359
Location: Glasgow, Scotland
Samwise wrote:
Excellent ... the discussions are starting. :)

I propose ppl start putting actual examples up there! Then we build the categories around them. If there aren't any BASIC examples, for instance, then we just drop that category.

Darwin was right with that evolution malarky - survival of the fittest!

Sam.

An example BASIC routine has now been added! ;)

Kind regards,

Francis.


Top
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 0 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:  
cron