Results 1 to 10 of 13

Thread: coco/r for delphi

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Re: coco/r for delphi

    Quote Originally Posted by VilleK
    So is it because of Unicode that the D2009-version does not work? Have you tried compiling it with an earlier version of Delphi? Or contacted the author?
    Probeably. The version on codegear compiles ok, but when generating sources with it the resulting files are garbled up with only some parts readeable, but when opening in delphi2009 all i see is numbers. I made a comment on the codegear download as i could not find an email for the author there.

    The tetzel also does not compile with delphi 2009 as it gives errors on compiling due to string vs ansistring. Replacing string with ansistring and char with ansichar blindly gives an version that compiles, but just like the version on codegear that gives garbled output files.

    Unfortunately the only delphi that i can use is delphi2009. Maybe i should dig up the delphi7 installer and make a virtual pc for it.

    How do you handle typecasting then? var2 := typecast(variable); vs var2 := function(variable);
    http://3das.noeska.com - create adventure games without programming

  2. #2
    Quote Originally Posted by noeska View Post
    The version on codegear compiles ok, but when generating sources with it the resulting files are garbled up with only some parts readeable, but when opening in delphi2009 all i see is numbers. I made a comment on the codegear download as i could not find an email for the author there.
    I had to update my Coco/R generated parser and found out just like you that this version generates garbled output files. I tried to contact the author on several different email-addresses but got no reply. Finally I found the problem in the source code and uploaded it here: http://code.google.com/p/dcocor/

    Now it generates correct output when compiled in Unicode-versions of Delphi.
    ZGameEditor - Develop 64kb games for Windows.
    Thrust for Vectrex - ROM-file and 6809 source code.

  3. #3
    Quote Originally Posted by VilleK View Post
    I had to update my Coco/R generated parser and found out just like you that this version generates garbled output files. I tried to contact the author on several different email-addresses but got no reply. Finally I found the problem in the source code and uploaded it here: http://code.google.com/p/dcocor/

    Now it generates correct output when compiled in Unicode-versions of Delphi.
    Nice work VilleK, I might check it out (pun intended!)

    cheers,
    Paul

  4. #4
    I can't see how to download it. Should I use SVN? Will it compile on FPC?

    BTW, thanks for the work.
    No signature provided yet.

  5. #5
    Quote Originally Posted by ?ëu?±o Mart??nez View Post
    I can't see how to download it. Should I use SVN? Will it compile on FPC?

    BTW, thanks for the work.
    There is no separate download, go here:
    http://code.google.com/p/dcocor/source/checkout

    and use SVN

    cheers,
    Paul

  6. #6
    Yep, use a Subversion client to download the code! Not sure if it will work on Fpc, haven't tried that myself.
    ZGameEditor - Develop 64kb games for Windows.
    Thrust for Vectrex - ROM-file and 6809 source code.

  7. #7

    Exclamation

    I downloaded it, but I can't compile it. It uses the Windows unit and I use Linux. I tried to fix it but it also uses assembler and FPC doesn't identifies it correctly (IIRC FPC uses "GNU style" not "Intel style").

    BTW, can anybody publish a yet compiled executable? I'll test it using WineHQ. May be it works.
    No signature provided yet.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •