Search the web
Sign In
New User? Sign Up
gbadev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Scripting on the GBA   Message List  
Reply | Forward Message #14465 of 15019 |
Re: Scripting on the GBA

--- In gbadev@yahoogroups.com, Groepaz <groepaz@g...> wrote:
> many games can work by just rewriting the actual graphics part.
> imagine anything along the lines of point-and-click adventures
> for example.

Likewise, the core gameplay code (tetanus.c) of Tetanus On Drugs
changed much less from PC to GBA than the I/O code did. Even on
a 16 MHz machine, I/O abstraction can be affordable.

> On Friday 08 August 2003 14:56, Colin Brown wrote:
>
> > * making changes during program execution would require
> > either an interpreted language(too slow)
>
> who tells you that its to slow? maniac mansion uses interpreted
> scripts on the c64 (1mhz,8bit cpu) and it obviously works ok.

Likewise, many e-reader games are written in bytecode that
resembles the machine language of the 6502 processor,
accessing I/O similar to that of the old Famicom game console.

> > or compilation on the fly (on a gba?)
>
> self modifying code?

Dynamic recompilation is relatively common in emulators.

> and unless you are writing an action-filled
> hi-tech shooter/arcade/whatever you can live with that.

Do Gradius and its ilk run at full speed in PocketNES?

> bugs in scripts can be located more easily (the script interpreter
> can help with finding them by itself, printing ill-conditions to
> console, whatever).

In debug builds of my GBA projects, I usually print ill-conditions
to an unused part of the layer I'm using for the status bar.

What is the fundamental difference between scripts and C anyway?

--
Damian





Tue Aug 12, 2003 4:55 am

yerricde
Offline Offline
Send Email Send Email

Forward
Message #14465 of 15019 |
Expand Messages Author Sort by Date

... not really...many games can work by just rewriting the actual graphics part. imagine anything along the lines of point-and-click adventures for example. ...
Groepaz
groepaz2000
Offline Send Email
Aug 11, 2003
8:06 pm

... Likewise, the core gameplay code (tetanus.c) of Tetanus On Drugs changed much less from PC to GBA than the I/O code did. Even on a 16 MHz machine, I/O...
Damian Yerrick
yerricde
Offline Send Email
Aug 12, 2003
11:37 am

... scripts are interpreted (also true if they are precompiled to bytecode), while C is compiled into actual machine language. other than that there is no real...
Groepaz
groepaz2000
Offline Send Email
Aug 12, 2003
12:01 pm

Hi. My two cents. ... In theory, not too much. In practice, overhead -- scripts are generally interpreted, usually at a bytecode level; scripting languages...
Julian Squires
erovonket
Offline Send Email
Aug 12, 2003
2:30 pm

... You can find many games written in python (not for the gba btw), which i think is great. Here you have the best of both worlds - a language which has a...
Tom Badran
tb100badran
Offline Send Email
Aug 12, 2003
2:49 pm

apparently jak&daxter (on the ps2) was mostly written in lisp ...well, i thought that was cool, anyway :) ... ...
lx
lordBosh
Offline Send Email
Aug 16, 2003
10:29 pm

That's true (I worked on J&D) but the LISP dialect, GOAL, was actually compiled into R5900 native code, rather than being a scripting language. Even the...
Eddie Edwards
eddie@...
Send Email
Aug 17, 2003
6:02 pm

Hi all, The Apex Audio System (AAS) is an extremely efficient audio mixer and Protracker MOD player for the GBA. Its main features are a low memory footprint...
James Daniels
j_r_daniels
Offline Send Email
Aug 18, 2003
11:08 am

... Attached is a benchmark comparison against Krawall which appears to support these speed claims. I ran the test on VisualBoyAdvance 1.5.1. I started with...
Pete Gonzalez
gonz1242
Offline Send Email
Aug 20, 2003
7:36 pm

Hi Pete, ... I can't argue with that, although if there's demand then xm and s3m support can be added in future. ... You're right. I will expand the list of...
James Daniels
j_r_daniels
Offline Send Email
Aug 21, 2003
10:45 am

Hi, ... I believe I have now fixed this issue. It was caused by r13 being used by the mixer. This doesn't cause any problems with Single and Fast Interrupts...
James Daniels
j_r_daniels
Offline Send Email
Aug 21, 2003
11:19 pm

... Any change of getting the source or a linux binary for Conv2AAS.exe ? Thanks Tom -- ^__^ Tom Badran (oo)\______ Imperial College (__)\...
Tom Badran
tb100badran
Offline Send Email
Aug 23, 2003
2:20 am

Hi Tom, ... Sure. I'll put together a Linux binary ASAP. -- Cheers, James. /\ apex James Daniels //\\ designs...
James Daniels
j_r_daniels
Offline Send Email
Aug 24, 2003
3:00 pm

... Yup, I've confirmed that your update fixes the crashing problems. This also improved my success with some of the other problematic test files, however...
Pete Gonzalez
gonz1242
Offline Send Email
Sep 4, 2003
12:58 pm

Hi Pete, ... You'll be glad to know I've now added support for the following effects: + 6: Vibrato + Volume Slide + B: Position Jump + E6: Set/Jump to Loop +...
James Daniels
j_r_daniels
Offline Send Email
Sep 5, 2003
11:43 am

... I don't know, but having a 1-bit output could be useful for clocking purposes. For instance, a game with rhythmic background effects could use it to time...
Damian Yerrick
yerricde
Offline Send Email
Sep 5, 2003
8:53 pm

Hi Damian, ... Ok, although of course that's not what "Set Filter" is supposed to be used for. In fact, used like that, it would be possible to send one of ...
James Daniels
j_r_daniels
Offline Send Email
Sep 6, 2003
9:42 am

Hi Damian, ... Just thought I should let you know that this has now been added and will be in the next release. -- Cheers, James. /\ apex...
James Daniels
j_r_daniels
Offline Send Email
Sep 6, 2003
3:18 pm

Forgive me for saying but your downloadable demo really does sound ike it distorts and crackles a lot. So much so I had to check my installation! This is even...
Martin Piper
fnagaton
Offline Send Email
Aug 21, 2003
12:55 pm

Hi Martin, ... Are you sure that's not the samples in the MOD that are at fault rather than the mixer? I just played CreamOfTheEarth.mod in both AAS and Winamp...
James Daniels
j_r_daniels
Offline Send Email
Aug 21, 2003
11:21 pm

Yeah I was comparing the quality of "Cream Of The Earth" with your demo and a quickly hacked together version with our internal engine on GBA. Those are the...
Martin Piper
fnagaton
Offline Send Email
Aug 22, 2003
1:03 pm

Hi Martin, ... Ok, I'll investigate and see what I can do to increase the sound quality to Argonaut standards in future versions. -- Cheers, James. /\ apex...
James Daniels
j_r_daniels
Offline Send Email
Aug 23, 2003
2:20 am

Aye "set filter" is pretty much unused in nearly all MODs anyway. :) ... From: James Daniels [mailto:james.daniels@...] Sent: 06 September 2003...
Martin Piper
fnagaton
Offline Send Email
Sep 6, 2003
3:19 pm

Hi all, The new version of AAS I mentioned before has now been released. You can download it here: http://www.apex-designs.net/tools_aas.html The changes in...
James Daniels
j_r_daniels
Offline Send Email
Sep 8, 2003
12:37 am

... I've implemented it in MASO System, yes. http://maso.r0x.free.fr...
Greg Saugis
joelouiz
Offline Send Email
Sep 8, 2003
12:30 pm

Hi Greg, ... Interesting. How did you do it so that it wouldn't eat loads of CPU? -- Cheers, James. /\ apex James Daniels //\\...
James Daniels
j_r_daniels
Offline Send Email
Sep 8, 2003
3:19 pm

... out[i] = (in[i] + in[i-1])/2 processed when clipping the mixing buffer surprisingly fast (and optional anyway) might be more difficult to implement if you...
Greg Saugis
joelouiz
Offline Send Email
Sep 9, 2003
11:16 am

Hi Greg, ... I see. Neat! ... Well, not having an intermediate mixing buffer is certainly part of it, but if I told you more I'd have to kill you. :) -- ...
James Daniels
j_r_daniels
Offline Send Email
Sep 9, 2003
11:28 pm

wow :) i guess that if you have a good enough compiler, that kind of approach will always work well... though it's totally OT, did working in lisp help the...
lx
lordBosh
Offline Send Email
Aug 18, 2003
11:08 am

How does small compare to LUA? Emil ... From: Groepaz To: gbadev@yahoogroups.com Sent: Monday, August 04, 2003 7:55 PM Subject: Re: [gbadev] Re: Scripting on...
Emil Arkman
emil_arkman
Offline Send Email
Aug 12, 2003
11:38 am
 First  |  |  Last 
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help