Free your creativity - IOMBCC (Development Foros MSX)MSX Resource Center            
                       
English Nederlands Espa�ol Portugu�s Russian                  
 Noticias
   Página principal
  Almacén de noticias
  Temas de noticias

 Recursos
   Foros MSX
  Artículos
  Analisis
  Informe de ferias/RUs
  Álbum de fotos
  Ferias y encuentros
  Encuestas
  Enlaces
  Buscar

 Software
   Descargas
  Tienda Online

 MRC
   Quiénes somos
  Únete a nuestro equipo
  Donar
  Políticas
  Contacta con nosotros
  Enlázanos
  Estadísticas

 Buscar
 
  

  

 Login
 

Login

Contraseña




¿Aún no tienes una cuenta? ¡Conviértete en miembro del MSX Resource Center! ¡Únete a nosotros!.


 Estadísticas
 

Hay 45 invitados y 1 miembro en línea

Eres un usuario anónimo.
 

Foros MSX


Foros MSX

Development - Free your creativity - IOMBCC

Ir a la página ( Página anterior 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 Siguiente página )
Autor

Free your creativity - IOMBCC

DarQ
msx professional
Mensajes: 839
Publicado: Febrero 17 2005, 14:40   
hahahaha!! that's a good laugh

EDIT!
BAH!! openmsx-catapult can't seem to type the source into the emulator.. getting syntax errors in certain lines..
viejo_archivero
msx addict
Mensajes: 456
Publicado: Febrero 17 2005, 14:43   
impressive!
jr
msx addict
Mensajes: 310
Publicado: Febrero 17 2005, 15:49   
Found the bug... Now it calcs correctly. Also, reduced the size of the code a bit in the process Now it doesn't show the place of the decimal point though but I suppose everyone here knows where it belongs...

1           DEFINTA                -C,F-G:                DEFDBLD
         -E:A=   10^4:          C=28*   100::          DIMF(   C+1):
        FOR         B=0        TOC         :F(        B)=         A/5
2      NEXT          B::      REM           7*A      MOD           SQR
3     D=0             :G=    C*2             :IF    G=0            THEN
     END              ELSE  B=C               'OR  AND               NOT
4    D=D               +F(  B)*               A:G  =G-               1:F
    (B)                 =D-G *                 INT(D/                 G):
    :D=                 INT(D/                 G):G=G                 -1:
5   B=B                 -1:IFB                 THEND=                 D*B
     :::               GOTO 4::               REM  <>5               SIN
6    :E=               INT  (E+               D/A  )::             PRINT
      MID$            (((    STR$            (E)    )),             2);
7      C=C           -14      :E=           D -      A *           INT
        (D/         A):        GOTO        3'G        RUN         END
         (XXX)   (XXX)          (XXX)   (XXX)          (XXX)   (XXX)
8           'PIcalc                'by'jr'                /IOMBCC


Yeah it's a pain in the ass to type it in Should I upload the bas file?
jr
msx addict
Mensajes: 310
Publicado: Febrero 17 2005, 19:46   
if you don't have the patience to wait for the processing, here's what it looks like when it's all done:


manuel
msx guru
Mensajes: 3545
Publicado: Febrero 17 2005, 21:29   
Quote:

BAH!! openmsx-catapult can't seem to type the source into the emulator.. getting syntax errors in certain lines..



That's because it contains End-Of-Line characters after each line. If the program would have one basic line per text line, it would work... So, you'll have to paste it a bit carefully to enter it with the help of Catapult.
Grauw
msx professional
Mensajes: 1006
Publicado: Febrero 17 2005, 22:46   
Impressive! Though I’m missing a comma there right after the first ‘3’ ...
FiXato
msx addict
Mensajes: 264
Publicado: Febrero 24 2005, 00:11   
Quote:

Now it doesn't show the place of the decimal point though but I suppose everyone here knows where it belongs...


quoted especially for grauw

I like the idea nice listings
Sousuke
online
msx freak
Mensajes: 154
Publicado: Febrero 24 2005, 16:39   
Totally sick duuuude
DarQ
msx professional
Mensajes: 839
Publicado: Febrero 24 2005, 17:04   
@manuel:
ok, but how about using turbo-r emulation? most characters will go wrong because of its weird keymap.
manuel
msx guru
Mensajes: 3545
Publicado: Febrero 24 2005, 17:30   
DarQ: yes, use the IPS patch to let it have a European keyboard when openMSX 0.5.1 comes out

Of course we should fix this once for real.
[D-Tail]

msx guru
Mensajes: 3020
Publicado: Febrero 24 2005, 18:58   
Looking for: Japanese PC-keyboards!


Edwin
msx professional
Mensajes: 626
Publicado: Febrero 24 2005, 19:50   
For the few that are not aware of the C variant (which started in 1984) of this contest, the website (www.ioccc.org) of the IOCCC contains a lot of inspiring code. It's C, but that doesn't mean some of the concepts can't be applied to MSX Basic.
NYYRIKKI
msx master
Mensajes: 1528
Publicado: Febrero 25 2005, 15:55   
Usually first program to write on any language is "Hello World"... Here is my version for MSX-BASIC

1 DEFSTRO:O="Obkkh'Phukc&":POKE-189,&HEE:KA=KA+1TOLEN(O):XCHR$(ASC(MID$(O,A,-NOTE))XOR7);:J:Q-&O275,201


poke-1,170
msx professional
Mensajes: 897
Publicado: Febrero 25 2005, 19:30   
did I tell you're all scary?

NYYRIKKI
msx master
Mensajes: 1528
Publicado: Febrero 25 2005, 21:25   

I must agree, that I have currently exceeded a bit even my own expectations of writing MSX-BASIC all wrong!

... but scary? Heck, this is not even close to scary yet! Other fraction of my mind is currently working with entry, that is capable of expanding it's command set, self modifying and progressive evolveing. I hope, it will finish it's job next week.

At first stage the code will start expanding the BASIC command set to be able to take over the development, then it will start adding and deleting parts of it's source untill it gains the final basic stucture. After that it starts to modify and run it self in a loop without clear preprogrammed pattern, so after this point you will not be able to know when it was started or how many generations it has "lived".

The current version has already tools to modify it self and basic understanding of it's structure, at the moment it anyway has also pretty bad self destruction habits, that slow down the development. Anyway, back to the topic... I think, that when it is released, it might be a bit scary.


 
Ir a la página ( Página anterior 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 Siguiente página )
 







(c) 1994 - 2008 Fundación MSX Resource Center. MSX es una marca registrada de MSX Licensing Corporation