The 'Pawn Language' Forum

An embedded scripting language

 

Back To Forum Index
 
dmitry

Posted On 2005-12-05 04:31 -- Subject: PAWN footprint

Hello!

Great system for embedded scripting, but one question exists anyway.
In PAWN documentation I found information about realisation on Atmel microcontroller with 128 KB ROM inside.
But is it full implementation of PAWN with byte-code compliler, or just VM+byte code?

I intersted to use PAWN for embedded scripting in system with 256 KB ROM, but I doubt, if I could use it for user CLI interface realisation also?

Best regards,
Dmitry.
thiadmer
Pawn: embedded scripting language
Posted On 2006-02-19 11:42 -- Subject: RE: PAWN footprint

This is highly probably for the abstract machine only (but I am not sure, as I did not build that port).

The Pawn compiler is mostly build without any special measures to run on embedded systems, meaning that it includes a lot of features that make little sense on an embedded system, such as the XML documentation and comment processing. It also makes liberal and frequent use of dynamic memory allocation.

The abstract machine is designed to run as embedded in a host application or on a microcontroller. I implemented the abstract machine on a special purpose MP3 player (using an ARM microcontroller), and on a board that uses a MSP430 microcontroller. The latter has 48 kiB ROM and 10 kiB RAM, and it also needs to run the uC/OS-II RTOS and the host application. The abstract machine can function in environments where there is no dynamic memory and where RAM and ROM are scarce resources.

The only port of the compiler to an embedded device that I know of was a PIM device, where the compiler had to fit in 64 kiB (don't remember whether that was ROM or RAM). The port was successful (after stripping out a number of features), but it was a while back (4/5 years). With the current compiler, it would probably be tough to get it running in 64 kiB.

Regards,
Thiadmer Riemersma (maintainer of the 'Pawn' toolkit)
Ayed
Posted On 2009-07-15 07:52 -- Subject: RE: PAWN footprint

Hi,

I start with pawn and to use it in µc.
Please can you send to me an example where you use pawn in µc?
my email: ayed.guembri@gmail.com

You Are On Page: 1/1 <<   <   1   >   >>




- BiTBOARD version 2.5 by the BiTSHiFTERS SDC -