| |
thesuperfrog
Registered: Oct 2016 Posts: 3 |
Script Language
Hi all,
have you ever used a script language to create a game?
I'm very courious to know if it could be possible make the porting the lua on c64.
thanks |
|
... 12 posts hidden. Click here to view all posts.... |
| |
El Topo
Registered: Jun 2006 Posts: 43 |
I don't want to sound like an ass but isn't C64/C128 BASIC a scripting language? :) |
| |
thesuperfrog
Registered: Oct 2016 Posts: 3 |
Quote: I don't want to sound like an ass but isn't C64/C128 BASIC a scripting language? :)
But i'm trying to adopt/create someting more modern.
i would like to experiment the idea to use a 16bit opcodes with registers based instructions. I'm thinking to translate this instructions with relative 6010 opcodes. on top use a language like lua.
An evolution of sweet16 but without a vm, just translate in 8bit opcodes. |
| |
MagerValp
Registered: Dec 2001 Posts: 1078 |
Quote: http://www.compuphase.com/small.htm ... apparently its called "pawn" now (not sure if that is better to google for... =P)
Thank you. "pawn scripting language" gives plenty of relevant hits, so yes, that was a good name change :) |
| |
MagerValp
Registered: Dec 2001 Posts: 1078 |
And as for scripting languages on the C64, I've experimented a bit with it, but in the end I just settled on using C for those parts that don't need the performance of asm. Since projects are limited to a few dozen kB of code you don't really bump into the problems that large C codebases struggle with. The only practical drawback I've found is that, at least cc65, generates code that's a little more bloated than a small VM interpreter or hand written asm. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
why not simply use BASIC for scripting? :) |
| |
Jammer
Registered: Nov 2002 Posts: 1335 |
Because its syntax sucks? ;) |
| |
Martin Piper
Registered: Nov 2007 Posts: 722 |
And the BASIC interpreter sprays all over large areas of memory, especially zero page. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
easy enough to save/restore that when needed :) |
| |
Frantic
Registered: Mar 2003 Posts: 1648 |
only lamers save/restore when needed. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
PROS use SUPERPOKER for scriptz! |
Previous - 1 | 2 | 3 - Next |