m19lib is a large mode 19 graphics library for Euphoria 2.0+. It contains routines for displaying sprites, manipulating the palette and some other stuff.
Most of the routines are written in assembly (using Pete Eberlein's asm.e) and should be pretty fast.
These are the routines currently in m19lib (v 1.2):
Display routines:
(c=one-colored, s=scaled, t=semi transparent)
- asm_display()
- asm_cdisplay()
- asm_sdisplay()
- asm_tdisplay()
- asm_ctdisplay()
- asm_stdisplay()
- asm_display_clip()
- asm_cdisplay_clip()
- asm_sdisplay_clip()
- asm_tdisplay_clip()
- asm_ctdisplay_clip()
- asm_stdisplay_clip()
Palette routines:
- set_pal()
- set_col()
- fade_to_rgb()
- fade_towards_rgb()
- fade_sprite_to_rgb()
- fade_sprite_towards_rgb()
- fade_to_pal()
- fade_tone_to()
- fade_tone_towards()
- fade_sprite_tone_to()
- fade_sprite_tone_towards()
- swap_tone()
- sprite_swap_tone()
- rgb_add()
- sprite_rgb_add()
- get_sprite_colors()
- remap_colors()
Misc routines:
- set_vga()
- restore_graphics()
- poke_bitmap()
- mem_cls()
- mem_cls_clip()
- asm_copy_screen()
- set_clip_box()
- wait_vrt()
- short_wait_vrt()
- free_asm_code()
Download m19lib v1.2