MaxCoderz

for your 1 bit pleasure!

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Fri 13 Jun, 2008 10:22 am 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 01 Dec, 2005 9:04 am
Posts: 227
Location: Melbourne, Australia
I was just wondering on what everybody's idea of the perfect calculator shell is. It's one of those things I would love to code one day, but will probably never get around to it. But still, it's cool to think about these things and work out what would be possible!

I think the key feature I would like is relocatable programs. I did a bit of work with the MS PE format a while ago and it got me thinking about a few things. It would, theoretically, be possible to create a calc executable format with different relocatable sections, just like PE/COFF files. You could including information on whether a section is read-only (flash loadable) or executable (load below $C000), etc. It would be a nightmare to code, but sure would be cool :) Not to mention that you would need an assembler capable of producing the relocation information.

On-calc program compression would also be a must.

Any other ideas?

_________________
"I don't know why a refrigerator is now involved, but put that aside for now". - Jim e on unitedti.org

avatar courtesy of driesguldolf.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri 13 Jun, 2008 10:53 am 
Offline
Calc King

Joined: Sat 05 Aug, 2006 7:22 am
Posts: 1513
Properly chainable hooks! :)
A memory allocation that is actually fast
Better use of the extra RAM pages on the calcs that have them
Real floats (for faster multiply, less space, etc)
Incremental Flash GC (hm.. in a shell?)
No mess during GetKey


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri 13 Jun, 2008 12:43 pm 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 3064
Location: Croydon, England
A standardised way of loading and accessing binary libraries would be nice.

REL files (as used by Microsoft's 8080/Z80 CP/M development tools) might be suitable for use as a relocatable program format; they're relatively simple and quite small (being stored as a bit stream), and support program and data segments.

Whilst running programs directly from Flash sounds like a nice idea, I'm not sure how well it would work in practice if the program ends up crossing a page boundary (assuming that's what you're referring to?)

I second the suggestion of a decent maths library (be it floating or fixed point); a graphics library with an emphasis on ease of use (so, all operations are clipped by default and preferably using 16-bit coordinates) would also be welcome.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri 13 Jun, 2008 1:24 pm 
Offline
Maxcoderz Staff
User avatar

Joined: Wed 15 Dec, 2004 6:06 am
Posts: 579
Location: Chicago!
King Harold wrote:
Properly chainable hooks! :)
A memory allocation that is actually fast
Better use of the extra RAM pages on the calcs that have them
Real floats (for faster multiply, less space, etc)
Incremental Flash GC (hm.. in a shell?)
No mess during GetKey


MirageOS disables 2nd+OFF during GetKey, and Crunchyos just gurantees that memory is in a consistent state, so 2nd+OFF doesn't corrupt anything.

_________________
You know your hexadecimal output routine is broken when it displays the character 'G'.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri 13 Jun, 2008 1:36 pm 
Offline
Calc King

Joined: Sat 05 Aug, 2006 7:22 am
Posts: 1513
Yup that's what I mean
It would be kinda odd to have a dream shell without that now wouldn't it?


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 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
Powered by phpBB ® Forum Software © phpBB Group | DVGFX2 by: Matt