Categoría: desarrollo/開発/development

desarrollo/開発/development

Game Boy assembler suite RGBDS for Mac OS X

Hace tiempo que me interesa aprender a programar para Game Boy Color, pero hasta esta misma semana no he tenido las herramientas de desarrollo para hacerlo bajo Mac OS X. RGBDS (Rednex Gameboy Development System) es un paquete de desarrollo gratuito para Game Boy y Game Boy Color, cuyos autores son Carsten Sørensen (SurfSmurf) y Justin Lloyd (Otaku), quien además es el actual encargado del proyecto. Las versiones más actuales que se ofrecen en la web oficial son solo para Windows, y aunque hay un makefile para Linux escrito por Michael Hope nunca he conseguido usarlo con Mac OS X.

前からゲームボーイカラーのプログラミングを習いたいと思っているけど、今週まではMac OS Xで開発出来るツールがなかった。RGBDS (Rednex Gameboy Development System)はゲームボーイシリーズ用の開発パッケージ。作者はCarsten Sørensen(SurfSmurf)と現在プロジェクトマネージャーのJustin Lloyd(Otaku)。公式サイトで提供されている最新バージョンはウィンドウズのみで、Michael HopeによるLinux用のmakefileが存在するのに僕にはそのmakefileをMac OS Xで使用出来なかった。

I’ve been interested for some time in learning how to program for the Game Boy Color, but until this week I didn’t have the developing tools to do so on Mac OS X. RGBDS (Rednex Gameboy Development System) is a free development package for Game Boy and Game Boy Color, whose authors are Carsten Sørensen (SurfSmurf) and Justin Lloyd (Otaku), who is also the current manager. The current versions provided on the official website are only for Windows, and while there is a makefile for Linux by Michael Hope I wasn’t smart enough to use it on Mac OS X.

octarine space waste gbc game boy color demo demoscene scene octarine space waste gbc game boy color demo demoscene scene

Pantallas de la demo de Octarine “Space Waste”, hecha con RGBDS. También puedes ver un vídeo de Mental Respirator de Phantasy, que tiene música de Goto80. Las dos demos están programadas por Dalton.

RGBDSで作られたOctarineの「Space Waste」というデモのスチル。ゲームボーイカラーで見られるハードがなかったらエミュレーターでも見るのが可能。またPhantasyのMental Respiratorを撮った動画を見ることも出来る(音楽はGoto80)。2つのデモも、プログラム担当はDaltonだった。

Screenshots from Octarine’s demo “Space Waste“, made with RGBDS. You can also watch a movie of Mental Respirator by Phantasy, which has music by Goto80. Both demos are coded by Dalton.

Así que pedí ayuda para compilar el ensamblador bajo Mac OS X, y esa ayuda vino hace poco de la mano de David Revelj (Dalton/Phantasy, no os perdáis su web GAMEBOY Demospotting con la mejor colección de demos para Game Boy) en forma de makefile para Mac OS X. Me dijo que podía redistribuirlo, y espero que a los autores originales tampoco les moleste que os lo deje aquí.

ということでMac OS Xでそのアセンブラをコンパイルする為に助けを求めた。その助けはなんと最近David Reveljから(Dalton/Phantasy、GAMEBOY Demospottingというゲームボーイデモを集めたサイトが必見)Mac OS X用のmakefileという形で来た。再配布してもいいと言われたし、もともとの作者にも起こられないと思うのでファイルが下においてある。

So I asked for help on compiling the assembler for Mac OS X, and that help came recently from David Revelj (Dalton/Phantasy, check his site GAMEBOY Demospotting for the best collection of demos for the Game Boy) in the form of a makefile for Mac OS X. He told me I can redistribute it and I hope the original authors won’t be mad either, so here you are.

Úsalo a tu propio riesgo, agradece el buen trabajo de los autores y David Revelj (yo solo estoy participando de su generosidad) y pregunta lo que quieras en los comentarios. Aunque puede que no pueda resolver todos los problemas.

自分の責任で使って、作者とDavid Reveljの努力に感謝して(僕はただ配布しているだけだ)、不明な点があればコメントで聞いて下さい。ただし、全ての疑問を答えることが出来るに限らない。

Use at your own risk, thank the authors and David Revelj for the work (I’m only spreading the goodness) and feel free to ask anything on the comments. I might not be able to solve every problem, though.

tags: 

Programando en MSX-Basic — プログラミング — Programming

Ayer enchufé el MSX que me compré hace unos días, me bajé un curso de MSX-BASIC y me hice un programa para probarlo. Cortito porque no tengo disquete ni cinta para grabarlo.

昨日は先日買ってきたMSXの電源を入れて、MSX-BASICの説明書を落として、試しにプログラムを書いておいた。テープもフロッピーもないので短い者にした。

Yesterday I used for the first time the MSX I bought some days ago. I downloaded a MSX-BASIC user guide and wrote a test program. I don’t have a tape or floppy to store my programs, so I kept it short.

Casio MX-10 MSX-BASIC

Cuando Ai volvió a casa, se produjo el diálogo entre la mujer (Ai) y la máquina. Fue algo parecido a esto:

  • ¿Hola?
  • Hola.
  • ¿Te vas a dormir ya?
  • No
  • Ya es tarde. ¿Te vas a dormir ya?
  • Aún no.
  • Ya es tarde. ¿Te vas a dormir ya?
  • Dentro de un poquito.
  • Ya es tarde. ¿Te vas a dormir ya?
  • Ya es tarde. ¿Te vas a dormir ya?
  • Vale.
  • Buenas noches <3

愛が帰ってきたとき、女と機械の会話があった。こんな感じだった:

  • おかえり?
  • ただいま
  • もうねるの?
  • いいえ
  • もうおそいよ・・・もうねるの?
  • まだ
  • もうおそいよ・・・もうねるの?
  • もうちょっと
  • もうおそいよ・・・もうねるの?
  • ・・・
  • もうおそいよ・・・もうねるの?
  • うん。
  • おやすみ<3

When Ai came back home, there was a conversation between the woman and the machine. It was more or less like this:

  • Welcome back.
  • Hi.
  • Are you going to bed already?
  • No.
  • Are you going to bed already?
  • Not yet.
  • Are you going to bed already?
  • Just a little longer.
  • Are you going to bed already?
  • Are you going to bed already?
  • OK.
  • Good night<3

Casio MX-10 MSX-BASIC

Casio MX-10 MSX-BASIC

El listado del programa es una chorrada. Se entiende sin tener ni idea de programación, siempre que sepa un mínimo de inglés y no se tenga miedo de las palabras en japonés.

プログラムのリストは基本の基本。プログラミング経験ない人にでも分かると思う。英語の知識は少し必要だけど。

The program’s list is trivial. People with no programming knowledge should be able to read it if they aren’t scared of Japanese.

10 COLOR 2,15,11
20 CLS
30 INPUT "おかえり";A$
40 IF A$="ただいま" THEN GOTO 90
50 IF A$="た" THEN GOTO 90
60 IF A$="y" THEN GOTO 90
70 IF A$="" THEN GOTO 190
80 GOTO 30
90 INPUT "もうねるの?";A$
100 IF A$="はい" THEN GOTO 180
110 IF A$="うん" THEN GOTO 180
120 IF A$="ん" THEN GOTO 180
130 IF A$="ねる" THEN GOTO 180
140 IF A$="y" THEN GOTO 180
150 IF A$="" THEN GOTO 190
160 PRINT "もうおそいよ・・・"
170 GOTO 90
180 PRINT "おやすみ<3"
190 COLOR 8,15,12
200 END

tags: 

福岡ゲームコンテスト — Fukuoka Game Contest

A principios de noviembre se convocó el Concurso de Videojuegos de Fukuoka, una iniciativa de la Organización para el Fomento de la Industria del Videojuego en Fukuoka y de la GFF (Game Factory’s Friendship), que es una asociación de varias empresas de videojuegos entre las que destaca Level 5, la empresa a cargo de videojuegos como Dragon Quest VIII o Jeanne D’Arc.

11月の上旬、 福岡ゲームコンテストについての情報が公開された。主催は福岡ゲーム産業振興機構と福岡のゲームメーカーの協会であるGFF。GFFの中で目立つのはドラゴンクエストVIIIジャンヌ・ダルクなどの製作を担当したLevel 5

In the beginning of November, the Fukuoka Game Contest was announced. It is held by the Organization for the Encouragement of the Game Industry in Fukuoka and GFF (Game Factory’s Friendship), which is an association consisting on many video game companies settled in Fukuoka, where most prominent may be Level 5, of Dragon Quest VIII and Jeanne D’Arc fame.

juego game ゲーム cartas cards card カード design diseño クリエイト

El concurso tiene dos categorías de juegos: para PC (sobre Windows) y para móviles i-mode (sobre Java). Tengo pensado participar con zon7 y compañía en la categoría de PC. Y la imagen de aquí arriba no es de lo que vamos a presentar, sino que son cartas de prueba de otro juego mío del que los playtesters no me reportan nada de nada. ¿Alguien ha jugado, aparte de las partidas que habéis jugado conmigo?

コンテストには2つのゲームカテゴリーがある:PC(WIN)とモバイル(iアプリ)。 zon7とチームを組んでPCの方に応募しようと思ってる。ちなみにこの上の画像は応募するゲームのではなくて、別で作っているゲームのプレイテスト用カード。プレイテストチームから何も聞いてないけど、やってくれてるかな?

The contest has 2 categories for games: PC (Windows) and mobile (Java on i-mode). zon7 and I are thinking about teaming up and enter the PC category. The picture above isn’t for the game we’d submit, though. It’s playtest cards for another game of mine. By the way I’m not hearing anything from my playtesters. Have you actually been playing?

tags: 

Building RGBDS on Mac OS X/UNIX/Linux (Help!)

(español)
Estos días estoy mirándome cosas de ensamblador para Game Boy, y la verdad es que me alegraría bastante poder ensamblar gameboyismos en el Mac. (Un ensamblador es un programa de ordenador necesario para producir software de Game Boy.)

Lo más perfectísimo podría ser tener la versión Linux del ISAS de Intelligent Systems, pero no soy un desarrollador reconocido por Nintendo, ni tengo miles de euros para gastar en esto, y la verdad es que ni siquiera sé si todavía venden el ISAS.

Así que he estado mirando el (antiguamente) famoso RGBDS, ensamblador gratuito del que también está disponible el código fuente.

RGBDS parece ser primordialmente un programa para MS-DOS o Windows, pero antiguamente se distribuían binarios para Linux e incluso para AmigaOS. Ahora se supone que uno puede bajarse el código fuente (que solo está preparado para compilarse en MS-DOS/Windows) y aplicarle un archivo diff que nos dará los archivos MAKEFILE necesarios para compilarlo para Linux. Pero no me fue muy fino patcheando el código fuente, y no sé si podría arreglarlos manualmente yo solito.

Por eso lanzo unas preguntas al aire:
• ¿Alguien tiene binarios de RGBDS que funcionen en algún tipo de Linux o UNIX?
• ¿Alguien tiene alguna versión del código fuente de RGBDS que se pueda compilar en Linux/UNIX?
• ¿Alguien ha conseguido aplicar correctamente ese archivo diff al código fuente?

Gracias a todos.

(日本語)
最近ゲームボーイのアセンブラについて色々調べていて、「マックでゲームボーイ開発をやってみたいなぁ」と思ってしまった。(アセンブラはゲームボーイソフトを作るのに必要なパソコン用ソフト)

理想は任天堂に承認された開発者のみに販売されていたIntelligent SystemsISASのリナックス版で出来れば最高かもしれないけど・・・認証がないし、ソフトやハードが高いし、まだ売っているかどうか微妙だね。

そういうことで、フリーウェア+ソースコードの有名(だった)RGBDSでやってみようと思った。

RGBDSは基本的にMS-DOS/Windows用ソフトだけど、昔はリナックス版も配布されていたらしい。今はもう見つからないと思うけど、ソースコードをリナックスでコンパイル出来るMAKEFILEがあるらしい(本当はdiffファイルだけど)。しかしそのdiffファイルでソースコードpatchするのもスムーズに行かなくて、手動で修正することはやったことなくて難しいと思った。

ということでみんなに聞きたいのは
• 誰かUNIX/Linuxで動作するRGBDSのバイナリを持っていないですか?
• 誰かUNIX/LinuxでRGBDSをコンパイル出来るソースコードを持っていないですか?
• 誰かdiffファイルソースコードのpatchとコンパイルに成功しました?

よろしくお願いします。

(English)
I’ve been reading a lot about Game Boy assembly lately, and I think I’d love to assemble Game Boy stuff on my Mac. (An assembler is a computer program needed to produce Game Boy software).

What I’d like best might be using the Linux version for Intelligent SystemsISAS, but I’m not a Nintendo licensed developer, I don’t have thousands of euros to spend in this, and I don’t even know if they are still even selling the devkit.

So I’ve been looking at the popular (at its time) RGBDS, a freeware assembler which has its source code available.

RGBDS is mainly MS-DOS/Windows software, but Linux or even AmigaOS binaries were being distributed like ten years ago. Now you can download the source code (with MS-DOS/Windows makefiles only), and patch it with this diff file which is supposed to give you makefiles suitable for building on Linux. Only I wasn’t good enough to patch everything right, and I don’t really think I can fix it by myself.

So I’d appreciate to know the following:
• Has anybody got RGBDS binaries for any flavor of UNIX or Linux?
• Has anybody got RGBDS source code which builds for UNIX/Linux?
• Has anybody been able to patch the sources correctly with that diff file?

Thank you all.

tags: