Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in 
CSDb User Forums


Forums > C64 Coding > Script Language
2016-11-24 15:03
thesuperfrog

Registered: Oct 2016
Posts: 2
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....
 
2016-11-26 10:02
El Topo

Registered: Jun 2006
Posts: 20
I don't want to sound like an ass but isn't C64/C128 BASIC a scripting language? :)
2016-11-26 10:37
thesuperfrog

Registered: Oct 2016
Posts: 2
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.
2016-11-26 15:55
MagerValp

Registered: Dec 2001
Posts: 874
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 :)
2016-11-26 16:04
MagerValp

Registered: Dec 2001
Posts: 874
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.
2016-11-26 18:34
Groepaz

Registered: Dec 2001
Posts: 7971
why not simply use BASIC for scripting? :)
2016-11-29 16:45
Jammer

Registered: Nov 2002
Posts: 619
Because its syntax sucks? ;)
2016-11-30 01:51
Martin Piper

Registered: Nov 2007
Posts: 374
And the BASIC interpreter sprays all over large areas of memory, especially zero page.
2016-12-01 15:55
Groepaz

Registered: Dec 2001
Posts: 7971
easy enough to save/restore that when needed :)
2016-12-01 16:17
Frantic

Registered: Mar 2003
Posts: 1298
only lamers save/restore when needed.
2016-12-01 16:42
Groepaz

Registered: Dec 2001
Posts: 7971
PROS use SUPERPOKER for scriptz!
Previous - 1 | 2 | 3 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Mch/Genesis Project
TheRyk/MYD
Matt
V-12/Tropyx
Powerslave/Tronix
Nafcom/P.o.L.
redback
Almighty God/L64/Ons..
Martin Piper
saulc12
Guests online: 51
Top Demos
1 Uncensored  (9.7)
2 Edge of Disgrace  (9.7)
3 The Shores of Reflec..  (9.7)
4 Coma Light 13  (9.6)
5 Lunatico  (9.6)
6 Comaland 100%  (9.6)
7 Incoherent Nightmare  (9.5)
8 Wonderland XII  (9.5)
9 Comaland  (9.5)
10 Wonderland XIII  (9.5)
Top onefile Demos
1 Dawnfall V1.1  (9.5)
2 Daah, Those Acid Pil..  (9.4)
3 SidRok  (9.4)
4 Treu Love [reu]  (9.4)
5 Tunnel Vision  (9.3)
6 Dawnfall  (9.3)
7 One-Der  (9.2)
8 Globe 2016 [reu]  (9.2)
9 Hardware Accelerated..  (9.2)
10 Safe VSP  (9.1)
Top Groups
1 Booze Design  (9.4)
2 Oxyron  (9.4)
3 Censor Design  (9.3)
4 Crest  (9.3)
5 Camelot  (9.2)
Top Coders
1 Axis  (9.8)
2 Crossbow  (9.8)
3 Graham  (9.8)
4 HCL  (9.8)
5 Knut M. Clausen  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2017
Page generated in: 0.95 sec.