Files

> > CS2D > Maps > Basic 8-bit calculator without lua
Files overviewCS2D overviewMaps overview

English Basic 8-bit calculator without lua >

3 comments5 kb, 468 Downloads

old Basic 8-bit calculator without lua

Hador
User Off Offline

This map is a 8-bit calculator, created entirely using entites, that is capable of addition, subtraction and multiplication.

This is another (and hopefully the last) entry in the building-machines-in-cs2d-that-no-one-asked-for series.

Unfortunately, cs2d entities without lua are (to my knowledge) not turing-complete due to a lack of variable parameters, so implementations need exponential space, which is why this is only a simple input-output calculator.


How does this work? >



That's pretty much it. Please leave a comment if you have any questions and feel free to expand upon this project in any (non-commercial) manner you like, I'd love to hear of anything useful that actually comes from this!

Also, don't enter the memory during operations, as unexpected death may occur.


Also check out this related project:
file cs2d The 4K CS2D 8-bit machine
edited 1×, last 07.06.20 06:36:59 pm
Approved by BcY

Download Download

5 kb, 468 Downloads

Comments

3 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Hador
User Off Offline

@user Mami Tomoe: That would be an incredibly difficult challenge, but it would need to be super-efficient and coded completely in lua, as you would have to emulate a full modern OS environment plus all of the hardware, so I'll pass on that one

old

Mami Tomoe
User Off Offline

Cant wait to run CS2D in CS2D...
I like it!
To the start Previous 1 Next To the start