Shop OBEX P1 Docs P2 Docs Learn Events
vga graphics — Parallax Forums

vga graphics

aleks72076aleks72076 Posts: 2
edited 2009-08-13 06:09 in Propeller 1
Help to alter a code to increase the map to 48 х64
· ' make some graphics tiles on the screen
· repeat i from 0 to 7
··· repeat j from 0 to 15
····· array.word [noparse][[/noparse]cols * + i + j]: = display_base + i <<6 + j <<9 + 21

Comments

  • RaymanRayman Posts: 14,845
    edited 2009-08-13 00:22
    I you mean to increase the # of graphics tiles in x and y to those dimensions, you can't because the Prop doesn't have enough memory!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • aleks72076aleks72076 Posts: 2
    edited 2009-08-13 06:09
    Thank you. As it is possible to make "init tile screen" Graphics Driver v1.0 for VGA.
    ···· For· TV
    ·" init tile screen"
    · repeat dx from 0 to tv_hc - 1
    ···· repeat dy from 0 to tv_vc - 1
    ····· · screen [noparse][[/noparse]dy * tv_hc + dx]: = display_base>> 6 + dy + dx * tv_vc + ((dy AND $3F) <<10)
Sign In or Register to comment.