Shop OBEX P1 Docs P2 Docs Learn Events
Debug to TV using 1-PinTV +option 1-PinKBD (minimal footprint; screen buf overl - Page 3 — Parallax Forums

Debug to TV using 1-PinTV +option 1-PinKBD (minimal footprint; screen buf overl

13»

Comments

  • Cluso99Cluso99 Posts: 18,069
    edited 2010-03-31 06:16
    I have posted a debug code version which includes both the 1pin TV and 1pin Keyboard on this thread http://forums.parallax.com/showthread.php?p=862504

    This makes an easy 2pin debug terminal.

    Enjoy cool.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Links to other interesting threads:

    · Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
    · Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
    · Prop Tools under Development or Completed (Index)
    · Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)·
    · Prop OS: SphinxOS·, PropDos , PropCmd··· Search the Propeller forums·(uses advanced Google search)
    My cruising website is: ·www.bluemagic.biz·· MultiBlade Props: www.cluso.bluemagic.biz
  • Cluso99Cluso99 Posts: 18,069
    edited 2010-04-23 01:04
    As requested by PM, here is the 1pinTV file v1.08 with 80x25, no inverse, for use at 104MHz (6.5MHz). The same will also work for 96 & 100MHz although some flicker at 96MHz.



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Links to other interesting threads:

    · Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
    · Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
    · Prop Tools under Development or Completed (Index)
    · Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)·
    · Prop OS: SphinxOS·, PropDos , PropCmd··· Search the Propeller forums·(uses advanced Google search)
    My cruising website is: ·www.bluemagic.biz·· MultiBlade Props: www.cluso.bluemagic.biz
  • Cluso99Cluso99 Posts: 18,069
    edited 2010-04-24 07:21
    v1.10 released to the OBEX and updated in the first post of this thread.

    New feature includes the optional 1-pin Keyboard Driver using three resistors and 5V.

    This is ideal for a simple 2-pin Terminal (mono TV & keyboard) of a Debugging Terminal or Debug Screen.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Links to other interesting threads:

    · Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
    · Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
    · Prop Tools under Development or Completed (Index)
    · Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)·
    · Prop OS: SphinxOS·, PropDos , PropCmd··· Search the Propeller forums·(uses advanced Google search)
    My cruising website is: ·www.bluemagic.biz·· MultiBlade Props: www.cluso.bluemagic.biz
  • Cluso99Cluso99 Posts: 18,069
    edited 2010-05-04 16:50
    v1.20 has just been released to the OBEX.

    The new version adds a timing diagram.
    Greatly improved VT100 speed·performance.

    A new mode (now the default) calculates the parameters almost solely using constants in the compiler so the footprint is not expanded much (4 longs). Just select NTSC or PAL and the number of rows. Columns are currently fixed at 25.
    ' ┌─────────────┬───────┬───────┬───────┬───────┬───────┐
    ' │             │ 80MHz │ 96MHz │100MHz │104MHz │108MHz │
    ' ├─────────────┼───────┼───────┼───────┼───────┼───────┤
    ' │ NTSC 40X25  │  Yes  │  Yes  │  Yes  │  Yes  │  Yes  │
    ' ├─────────────┼───────┼───────┼───────┼───────┼───────┤
    ' │ NTSC 60X25  │ NoINV │  Yes  │  Yes  │  Yes  │  Yes  │   
    ' ├─────────────┼───────┼───────┼───────┼───────┼───────┤   
    ' │ NTSC 64X25  │ NoINV │  Yes  │  Yes  │  Yes  │  Yes  │
    ' ├─────────────┼───────┼───────┼───────┼───────┼───────┤
    ' │ NTSC 80X25  │  No   │*NoINV*│   ?   │ NoINV │ NoINV │    NoINV  = Works with INVERSE removed              
    ' ├─────────────┼───────┼───────┼───────┼───────┼───────┤   *NoINV* = Works with INVERSE removed, some flicker
    ' │ PAL  40X25  │  Yes  │  Yes  │  Yes  │  Yes  │  Yes  │
    ' ├─────────────┼───────┼───────┼───────┼───────┼───────┤
    ' │ PAL  60X25  │ NoINV │   ?   │   ?   │   ?   │   ?   │
    ' ├─────────────┼───────┼───────┼───────┼───────┼───────┤
    ' │ PAL  64X25  │*NoINV*│   ?   │   ?   │   ?   │   ?   │
    ' ├─────────────┼───────┼───────┼───────┼───────┼───────┤
    ' │ PAL  80X25  │  No   │   ?   │   ?   │   ?   │   ?   │
    ' └─────────────┴───────┴───────┴───────┴───────┴───────┘
    
    

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Links to other interesting threads:

    · Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
    · Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
    · Prop Tools under Development or Completed (Index)
    · Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)·
    · Prop OS: SphinxOS·, PropDos , PropCmd··· Search the Propeller forums·(uses advanced Google search)
    My cruising website is: ·www.bluemagic.biz·· MultiBlade Props: www.cluso.bluemagic.biz
  • Cluso99Cluso99 Posts: 18,069
    edited 2010-05-05 09:49
    v1.25 released to OBEX.
    Rows and columns can now be selected and there is no screen·size restriction (except by the TV) as screen space is automatically allocated to the hub cog code plus the little extra for larger screens. At 5MHz NTSC 64*28 & PAL 60*32 both work quite well.
    I have recovered some cog code space for further VT100 controls (later).
    ' ┌─────────────┬───────┬───────┬───────┬───────┬───────┐
    ' │             │ 80MHz │ 96MHz │100MHz │104MHz │108MHz │
    ' ├─────────────┼───────┼───────┼───────┼───────┼───────┤
    ' │ NTSC 40X25  │  Yes  │  Yes  │  Yes  │  Yes  │  Yes  │
    ' ├─────────────┼───────┼───────┼───────┼───────┼───────┤
    ' │ NTSC 60X25  │ NoINV │  Yes  │  Yes  │  Yes  │  Yes  │   
    ' ├─────────────┼───────┼───────┼───────┼───────┼───────┤   
    ' │ NTSC 64X25  │ NoINV │  Yes  │  Yes  │  Yes  │  Yes  │
    ' ├─────────────┼───────┼───────┼───────┼───────┼───────┤
    ' │ NTSC 64X28  │ NoINV │  Yes  │  Yes  │  Yes  │  Yes  │
    ' ├─────────────┼───────┼───────┼───────┼───────┼───────┤
    ' │ NTSC 80X25  │  No   │*NoINV*│   ?   │ NoINV │ NoINV │    NoINV  = Works with INVERSE removed              
    ' ├─────────────┼───────┼───────┼───────┼───────┼───────┤   *NoINV* = Works with INVERSE removed, some flicker
    ' │ PAL  40X25  │  Yes  │  Yes  │  Yes  │  Yes  │  Yes  │
    ' ├─────────────┼───────┼───────┼───────┼───────┼───────┤
    ' │ PAL  60X25  │ NoINV │   ?   │   ?   │   ?   │   ?   │
    ' ├─────────────┼───────┼───────┼───────┼───────┼───────┤
    ' │ PAL  60X32  │ NoINV │   ?   │   ?   │   ?   │   ?   │
    ' ├─────────────┼───────┼───────┼───────┼───────┼───────┤
    ' │ PAL  64X25  │*NoINV*│   ?   │   ?   │   ?   │   ?   │
    ' ├─────────────┼───────┼───────┼───────┼───────┼───────┤
    ' │ PAL  64X32  │*NoINV*│   ?   │   ?   │   ?   │   ?   │
    ' ├─────────────┼───────┼───────┼───────┼───────┼───────┤
    ' │ PAL  80X25  │  No   │   ?   │   ?   │   ?   │   ?   │
    ' └─────────────┴───────┴───────┴───────┴───────┴───────┘
    
    

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Links to other interesting threads:

    · Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
    · Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
    · Prop Tools under Development or Completed (Index)
    · Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)·
    · Prop OS: SphinxOS·, PropDos , PropCmd··· Search the Propeller forums·(uses advanced Google search)
    My cruising website is: ·www.bluemagic.biz·· MultiBlade Props: www.cluso.bluemagic.biz
  • K2K2 Posts: 693
    edited 2010-05-05 13:36
    Many thanks!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    The early bird gets the worm but the second mouse gets the cheese.
  • Mike GreenMike Green Posts: 23,101
    edited 2010-05-05 14:23
    For those interested, here's a version of FemtoBasic modified for use with the RamBlade using the v1.25 1-pin drivers. There's a statement and function added for access to the SRAM that works as follows:

    SRAM [noparse][[/noparse] <address> ] = <expression>

    Sets the specified SRAM location to the given expression value

    and

    SRAM [noparse][[/noparse] <address> ]

    Has the value of the specified SRAM location

    Note that you can't access SRAM while a file is open because of I/O pins being shared between the SD card and SRAM.
  • Cluso99Cluso99 Posts: 18,069
    edited 2010-05-05 21:03
    Mike, there is probably a way to still use the SD card and SRAM with files open. You just have to release the SD card (to force DO to be released by the SD card) after use. It is not necessary to close the file system. This is the way I used it in ZiCog.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Links to other interesting threads:

    · Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
    · Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
    · Prop Tools under Development or Completed (Index)
    · Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)·
    · Prop OS: SphinxOS·, PropDos , PropCmd··· Search the Propeller forums·(uses advanced Google search)
    My cruising website is: ·www.bluemagic.biz·· MultiBlade Props: www.cluso.bluemagic.biz
Sign In or Register to comment.