Porting code from Flex Prop to IDE Tools and vice versa
Hi everyone,
I would like to porting this demo (see the attached zip at the bottom):
https://www.parallax.com/video-hardware-character-map/

from FlexProp to Spin Tools IDE by Marco Maccaferri's
As suggested by Marco, I made the following changes :
• Replaced "ASM / END ASM" with "ORG / END"
• Changed video# to video.
• Changed color# to color.
During compilation, I encountered an error on line 100:
video.DrawBox(0,0,video.XSIZE,video.YSIZE,borderColor, 3) **
**Error: undefined symbol video.XSIZE
Marco then advised me to add the following method in p2simplevideo.spin2:
PUB get_xsize() : r
return XSIZE
After making these changes, Spin Tools IDE compiles correctly RAM and EEPROM,
but nothing is displayed on the VGA monitor.

I must add that note: blue TX LED on the Prop Plug lights up for much longer when I compile
with Flex Prop respect when I compile with IDE Tools
The Debug terminal IDE Tools shows the following logs:
Cog0 INIT $0000_0000 $0000_0000 load
Cog0 INIT $0000_0F64 $0002_4404 jump
Cog1 INIT $0002_1D50 $0002_18C0 load
Cog0 active_pixels = 1_024
Cog0 scanline_clks = 6_720
Cog0 burst = 2_464
Cog0 video_bytes = 4_096
Cog0 video_fragments = 2
Cog0 video_clks = 4_428
On the other hand, FlexProp compiles and executes the code correctly, even after applying these same modifications.
Prop Flex Debug terminal shows the following logs:

Suggestions ?
SPAXIO
P.S. To all environment developers, a prayer: Try to unify the syntax.

