From: Marcin Raczkowski Date: 2007-09-23T02:14:12+09:00 Subject: Re: 13h mode ? Comp Asdfg wrote: > St辿phane Wirtel wrote: >> Comp Asdfg a 辿crit : >>> Hi i have a question is it possible to run 13h mode using ruby+asm ? >> why not ruby sdl ? > > jep if i would do a game i`ll choose SDL or something else but it`s only > a theoretical question, is it possible to run 13h mode using ruby and if > it is for example how would you draw a pixel becouse i have no idea how > to do it :( ? > thx well ruby doesn't allow direct system calls or interupts so you'll have to write c extension, theoretically it's possible. try reading some assembler faq, then c faq for how to inline assembler in c (there's no standard, every compiler have it's own macro) then read how to include c in ruby (i suggest rubyinline)