GithubHelp home page GithubHelp logo

maccasoft / propeller-vt100-terminal Goto Github PK

View Code? Open in Web Editor NEW
44.0 14.0 10.0 696 KB

ANSI / VT-100 Terminal emulator for Parallax Propeller microcontroller with VGA and USB support

Propeller Spin 100.00%
ansi vga parallax-propeller-microcontroller vt100 rc2014 usb propeller-spin

propeller-vt100-terminal's Issues

Build issue: Object exceeds runtime memory limit by 59 longs.

When building the project using the default .spin files and latest (1.00.78 2016) version of OpenSpin I receive the following error,

F:\Documents\6502\vt100>openspin -b -u vt100.spin
Propeller Spin/PASM Compiler 'OpenSpin' (c)2012-2016 Parallax Inc. DBA Parallax Semiconductor.
Version 1.00.78 Compiled on Jan 16 2016 15:37:47
Compiling...
vt100.spin
|-usb-fs-host.spin
|-com.serial.spin
|-waitvid.80x25.nine.driver.spin
|-generic9x16-4font.spin
|-keyboard.spin
|-i2c.spin
vt100.spin : error : Object exceeds runtime memory limit by 59 longs.

Question about changing default text color

Hi Marco ! Congrats for your excellent work! Really enjoying your Terminal with an SC126 RC2014 board. Only one question, how do I change the source code in vt100.spin to set a different color for the Foreground attribute ? I successfully changed the CTRL-F10 setup screen to green using $20 and $A0 instead of $70 and $F0 for text attributes, but didn´t find where to change the default color for the terminal text and cursor.

I´ll really appreciate if you can point me to the correct section of the code so I can make the change.
Thanks in advance.

Regards,
Jose Luis.

More standard VGA modes

Is it possible to implement a more standard VGA mode like 640x480@60.

For testing purposes really, I have two monitors that aren't supporting either mode. Oscilloscope readings of the vertical and horizontal sync look correct for both resolutions, as does the dot clock on the color lines.

I'm out of Monitors to try!

Thanks

question on build

I built the code changing the pins for the usb keyboard and serial to match the hobytronics board.. I was hoping I could turn that into this card for use on a single board computer.
it builds and loads but then the screen goes to sleep.. I dont have a keyboard or even usb header connected..

this is the schematic for there board. not much different from what I can tell. if I am missing something do you mind letting me know. Thank you . PS I have never used a propeller processor before.. so I am guessing..

lines I changed
vt100.spin
' ser.StartRxTx(8, 9, 0, 115200) changed for hobytronics
' debug.StartRxTx(31, 30, 0, 115200) changed for hobytronics
ser.StartRxTx(30, 31, 0, 115200)

and in USB_FS_HOST.spin

' modified for the Hobytronics serail_VGA from
' DMINUS = 1
' DPLUS = 0
DMINUS = 3
DPLUS = 4

link to their board

http://www.hobbytronics.co.uk/datasheets/serialvga-schematic-1-0.pdf

full 9x16 support now available

Just to let you know that there is now a new version available which uses a real 9x16 font (liberated from some FON file). The colour blink attribute is currently MIA but can be brought back if necessary.

Strange crash when paging down a particular file in a text editor

I'm using an RC2014 VGA Serial Console in a homemade CPU, and I am encountering a strange crash when trying to edit a particular text file. Here's a video demonstrating the problem: https://www.youtube.com/watch?v=OKDQznJkS2M

This happens reliably every single time I try to page down this file by 2 pages. Steps to reproduce (although nobody but me has this computer) are:

  1. open hamurabi.sl in kilo (it only works for hamurabi.sl, and it only works in the text editor - catting it to the screen doesn't cause any problem - I haven't yet investigated what specifically about this source file is causing the problem).
  2. scroll down twice (Ctrl-D, Ctrl-D)
  3. the VGA console will crash, and the screen will probably turn off (occasionally it shows a green-and-yellow pattern instead of turning off).

I wonder how we would go about debugging this? I think a first step would be to capture the exact bytes that are transmitted and replay them using a USB serial cable and see if it still crashes it - that would rule out some hardware-specific timing problem and would allow others to reproduce the problem. I'll work on doing that.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.