tgi lib

About Forums General Discussions tgi lib

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #304
    JimQT
    Participant

    Hello!
    I’m new to your sdk and also to the cc65 compiler.
    Is it possible from a 8bit Unity source to use the tgi lib and how? Do I need to use tgi_install() then tgi_init()? And how?
    If it’s not possible, how can I set a specific Atari graphic mode from Unity?

    Thank you.
    Regards,
    Jim

    #305
    8bit-Dude
    Keymaster

    Hello Jim!

    It is possible to use TGI, but in that case you will be limited to either low-res or low-color (all TGI modes are standard Atari GFX modes, see: https://cc65.github.io/doc/atari.html#ss6.1).

    8bit-unity (see bitmap.c and DLI.a65) implements a 160x200x9 colors mode using frame blending, with relatively low memory usage when compared to a TGI driver. This mode is similar to InterPainter (see: https://ipfs.io/ipfs/QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco/wiki/Software-driven_graphics_modes_for_the_Atari_8-bit_computers.html)

    Next version of 8bit-Unity will contain more TGI like functions (such as draw line/circle) for this mode.

    Best regards,
    Anthony

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.