Shop OBEX P1 Docs P2 Docs Learn Events
Propeller Browser (HTML Terminal) ? — Parallax Forums

Propeller Browser (HTML Terminal) ?

jazzedjazzed Posts: 11,803
edited 2010-07-06 21:27 in Propeller 1
Did I see someone post something before about this subject? Was I dreaming?

A "Propeller Browser" is a Propeller that interprets HTML and displays it on an LCD, TV, or VGA display. HTML would come in from a serial port and mouse/keyboard events would be transmitted on the serial port.

This question is motivated primarily by microcontrolled's Graphics Slave post, Peter Jakacki's GUI Terminal Client, and my own need for GUI based terminal.

Why is this interesting? A "Propeller Browser" would offer a standard* way of presenting a GUI for user interaction. A dedicated and separate Propeller Browser that interprets most HTML markup would off-load the video buffer and primitive processing from a device that runs a user application. The application device can of course be a PC or any micro-controller that can generate HTML and does not have to be internet enabled.

There are existing alternatives to a "Web Browser" that may be optimized for micros, but the interfaces are cryptic (written for micros) and require a steep learning curve for users that are otherwise already familiar with HTML. An HTML based interface would be easier to understand for many interested users to create interfaces because of the wide-spread use of the HTML mark-up language.

*Obviously Propeller doesn't have enough on board program memory to interpret all HTML elements, but my bet is that key components can be rendered and that is sufficient.

Thanks in advance for your input,
--Steve

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Pages: Propeller JVM
«1

Comments

  • jazzedjazzed Posts: 11,803
    edited 2010-06-21 16:25
    BTW, some day a simple Propeller configuration will allow bigger Spin programs ....

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Pages: Propeller JVM
  • Bill HenningBill Henning Posts: 6,445
    edited 2010-06-21 16:37
    VMCOG+ZOG+Lynx might do the trick...

    Actually Morpheus + Catalina + one of my high-resolution 4 color bitmap drivers could even render buttons etc. (mind you, probably slowly)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.mikronauts.com E-mail: mikronauts _at_ gmail _dot_ com
    My products: Morpheus / Mem+ / PropCade / FlexMem / VMCOG / Propteus / Proteus / SerPlug
    and 6.250MHz Crystals to run Propellers at 100MHz & 5.0" OEM TFT VGA LCD modules
    Las - Large model assembler Largos - upcoming nano operating system
  • jazzedjazzed Posts: 11,803
    edited 2010-06-21 17:26
    Yes, it is possible especially since Lynx is a GNU tool-chain project and ZOG is GNU ... I've looked[noparse]:)[/noparse]. I'm hoping that something simpler, smaller, and cheaper that anyone can use with simple Propeller hardware like the Propeller Proto Board and Accessory Kit is also possible. Of course a solution should be designed to work on hardware such as Morpheus that allows high color and resolution graphics for a richer experience. Having a Propeller driven LCD with 65K+ colors be a Browser would also be a goal. (BTW, we can render buttons on a TV today).

    Cheers,
    --Steve
    Bill Henning said...
    VMCOG+ZOG+Lynx might do the trick...

    Actually Morpheus + Catalina + one of my high-resolution 4 color bitmap drivers could even render buttons etc. (mind you, probably slowly)
    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Pages: Propeller JVM
  • Bill HenningBill Henning Posts: 6,445
    edited 2010-06-21 18:16
    It would be possible to do 640x240 2-color bitmapped on any prop, or 320x240x4 color, for rendering html [noparse]:)[/noparse]

    As far as LCD etc...

    I will not announce any more products before they are ready... I will not announce any more products before they are ready... I will not announce any more products before they are ready... I will not announce any more products before they are ready... I will not announce any more products before they are ready... I will not announce any more products before they are ready... I will not announce any more products before they are ready... I will not announce any more products before they are ready... I will not announce any more products before they are ready... I will not announce any more products before they are ready... I will not announce any more products before they are ready... I will not announce any more products before they are ready... I will not announce any more products before they are ready... I will not announce any more products before they are ready... I will not announce any more products before they are ready...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.mikronauts.com E-mail: mikronauts _at_ gmail _dot_ com
    My products: Morpheus / Mem+ / PropCade / FlexMem / VMCOG / Propteus / Proteus / SerPlug
    and 6.250MHz Crystals to run Propellers at 100MHz & 5.0" OEM TFT VGA LCD modules
    Las - Large model assembler Largos - upcoming nano operating system
  • MicrocontrolledMicrocontrolled Posts: 2,461
    edited 2010-06-21 18:54
    @Bill: Please do! It's so fun!

    I wrote the serial port program for this, I've attached it below, allong with the Propeller Demo Code. You could make a nice HTML editor with this and my Graphics slave. It's nice to see that it is being used!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Check out my new website!!

    Use the Propeller icon!! Propeller.gif

    Follow me on Twitter! Search "Microcontrolled"
  • jazzedjazzed Posts: 11,803
    edited 2010-06-21 19:07
    Microcontrolled said...

    I wrote the serial port program for this, I've attached it below, allong with the Propeller Demo Code. You could make a nice HTML editor with this and my Graphics slave. It's nice to see that it is being used!
    Ok, this must be what I remember seeing. Unfortunately, it seems you're just printing the HTML to the screen. What I'm interested in doing is interpreting the HTML and "rendering" the elements on a display like VGA, etc.... in a similar way to what your Chrome, Firefox, or Internet Exploder Web Browser do on your PC (obviously limited by Propeller constraints).

    Cheers,
    --Steve

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Pages: Propeller JVM
  • MicrocontrolledMicrocontrolled Posts: 2,461
    edited 2010-06-21 19:19
    Yes, that's what I thought that you wanted. Still, you'll need the serial program to get one working.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Check out my new website!!

    Use the Propeller icon!! Propeller.gif

    Follow me on Twitter! Search "Microcontrolled"
  • trodosstrodoss Posts: 577
    edited 2010-06-21 20:02
    @jazzed,

    The Contiki project has a 'lightweight' implementation of a web browser (text-based, like Lynx).

    http://en.wikipedia.org/wiki/Contiki
    http://www.sics.se/contiki/

    Maybe something could be taken from their code?

    --trodoss

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Visit the Propeller Powered SIG·fourm kindly hosted at Savage Circuits


    Game(s) Mythic Flight
    Utilities Font Editors (AIGeneric, Potato_Text, etc.)
  • jazzedjazzed Posts: 11,803
    edited 2010-06-21 20:05
    You know what? I saw your post on this in another thread and got excited about it.
    But then I couldn't find the code. Maybe you can point me to a precise link?

    Thanks,
    --Steve
    trodoss said...
    @jazzed,

    The Contiki project has a 'lightweight' implementation of a web browser (text-based, like Lynx).

    http://en.wikipedia.org/wiki/Contiki
    http://www.sics.se/contiki/

    Maybe something could be taken from their code?

    --trodoss
    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Pages: Propeller JVM
  • SapiehaSapieha Posts: 2,964
    edited 2010-06-21 20:13
    Hi jazzed.

    I found it.

    http://www.sics.se/contiki/download.html

    Regards

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nothing is impossible, there are only different degrees of difficulty.
    For every stupid question there is at least one intelligent answer.
    Don't guess - ask instead.
    If you don't ask you won't know.
    If your gonna construct something, make it·as simple as·possible yet as versatile as posible.


    Sapieha
  • trodosstrodoss Posts: 577
    edited 2010-06-21 20:13
    @jazzed,
    the SF page for the latest source is the following:

    http://sourceforge.net/projects/contiki/files/Contiki/Contiki 2.4/ (12.4 MB) download

    If you look in the /apps/webbrowser you should be able to see the source.

    --trodoss

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Visit the Propeller Powered SIG·fourm kindly hosted at Savage Circuits


    Game(s) Mythic Flight
    Utilities Font Editors (AIGeneric, Potato_Text, etc.)
  • jazzedjazzed Posts: 11,803
    edited 2010-06-21 20:50
    Well that helped [noparse]:)[/noparse] If nothing else, the parser will be useful.

    Thanks,
    --Steve

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Pages: Propeller JVM
  • trodosstrodoss Posts: 577
    edited 2010-06-21 21:13
    @jazzed,
    If it is just "one way" communication (and the Propeller is just consuming the HTML) then it should work fine.

    The major challenge I would see of communicating serially with another MCU is that it must be capable of understanding/processing the 'post/get' requests, which would likely mean a TCP/IP implementation like SLIP would need to be in place [noparse][[/noparse]Edit:], or at least a bare-bones processing of the post/get would need to be in place.·

    Since the primary 'mode' of communication is a serial connection, have you thought about using VT100/ANSI? That would give you a 'lighter weight' protocol for user interaction, and would still allow for some UI to be specified.

    [noparse][[/noparse]Edit:]· pullmoll has created VT100 emulation for VGA that could be used.

    VGA color and VT100 objects - (pullmoll)
    http://forums.parallax.com/showthread.php?p=905162

    Just a thought
    --trodoss

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Visit the Propeller Powered SIG·fourm kindly hosted at Savage Circuits


    Game(s) Mythic Flight
    Utilities Font Editors (AIGeneric, Potato_Text, etc.)

    Post Edited (trodoss) : 6/21/2010 9:20:01 PM GMT
  • jazzedjazzed Posts: 11,803
    edited 2010-06-21 21:32
    @trodoss,

    I'm interested in a method of exchanging page content and an event model that is familiar to many users and advanced beyond VT100. VT100 is nice for text and I use it all the time when developing applications with VI, but it is not a rich and immersive experience like a web page can be. Still, the Propeller and the output device will constrain the types of elements that can be used. Even with the constraints, Propeller is capable of more than of what VT100 (and CP/M) has to offer.

    I do also intend for Propeller to be able to send HTML from one or more files to the Propeller Browser client and receive event notifications. In some ways that would be is a server, but without all the HTTP protocol and TCP/IP overhead.

    Thanks for your help.
    --Steve

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Pages: Propeller JVM
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2010-06-22 02:02
    I saw your post a few hours ago and since then I've thought of a few things. First thing is graphics vs text. Some web pages are mostly text and some are mostly pictures. Sooner or later you will come across a page that is entirely graphics. So it seems to me the limiting factor is the graphic driver.

    But, compared with games, we have an advantage - the screen does not change most of the time. So you might take some time to build up a screen from html, but once it is created, it just sits there until the user clicks something.

    My understanding is that the propeller is not fast enough to render graphics from external ram. So - the 32k internal ram is precious and so using it for graphics is a very good use for that ram. We could allocate half the ram to graphics? No, why not all the ram? 320x240 is 76800 pixels. 32768 bytes is 262144 pixels. Allocate 3 bits per pixel and there should be enough ram.

    Now, in a cog, have some LMM code running that uses external ram to store the program. Pull in each instruction from external ram. Slow, but speed is not an issue here. Talk to other cogs via external ram postboxes. With LMM and external ram the code can be as big as you like.

    Ok, what does 320x240 look like? See attached - this is a grab from the propeller site. You can only see a bit of the site, so lots of scrolling would be needed! And this is 4 bit color. Paintshop can't do 3 bit. Hmm - if you went 4 bit and made the screen just a tiny bit smaller then you could fit into 32k.

    Not a trivial task. But maybe not impossible though.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.smarthome.viviti.com/propeller
    320 x 240 - 22K
  • jazzedjazzed Posts: 11,803
    edited 2010-06-22 02:49
    @Dr_A, I guess I didn't make it very clear that the proposal is not for a full-blown Web Browser.

    The proposal is for a Propeller based Browser client that provides enough functionality for an HTML Terminal GUI to be rendered by a Propeller to an LCD, TV, or VGA monitor with user generated events sent back to the "application host" micro-controller.

    That being said, most of your observations are relevant.

    Now I'm experimenting with the 1280x1024 VGA tile driver. Images are TBD and I may be totally off in my thinking. I like your ideas regarding graphics memory. Buttons, etc... can be rendered using the Propeller built-in font and they look pretty darn good so far.

    I know I'll eventually hit the big Propeller memory wall ... it happens over and over again. That's part of the plea for a workable Spin interpreter that uses external memory ... and ideas that I've seen today can help that become a reality. To me LMM is just too big for a reasonable, simple, and cost effective external memory solution. Still, I don't think a user would want to interact with something that's slower than New England molasses, so the LMM option remains open.

    Cheers,
    --Steve
    Dr_Acula said...
    I saw your post a few hours ago and since then I've thought of a few things. First thing is graphics vs text. Some web pages are mostly text and some are mostly pictures. Sooner or later you will come across a page that is entirely graphics. So it seems to me the limiting factor is the graphic driver.

    But, compared with games, we have an advantage - the screen does not change most of the time. So you might take some time to build up a screen from html, but once it is created, it just sits there until the user clicks something.

    My understanding is that the propeller is not fast enough to render graphics from external ram. So - the 32k internal ram is precious and so using it for graphics is a very good use for that ram. We could allocate half the ram to graphics? No, why not all the ram? 320x240 is 76800 pixels. 32768 bytes is 262144 pixels. Allocate 3 bits per pixel and there should be enough ram.

    Now, in a cog, have some LMM code running that uses external ram to store the program. Pull in each instruction from external ram. Slow, but speed is not an issue here. Talk to other cogs via external ram postboxes. With LMM and external ram the code can be as big as you like.

    Ok, what does 320x240 look like? See attached - this is a grab from the propeller site. You can only see a bit of the site, so lots of scrolling would be needed! And this is 4 bit color. Paintshop can't do 3 bit. Hmm - if you went 4 bit and made the screen just a tiny bit smaller then you could fit into 32k.

    Not a trivial task. But maybe not impossible though.
    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Pages: Propeller JVM
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2010-06-22 04:23
    The last thing I ever want to see on my Propeller is an internet advertisement...
    (I may gnaw my way through the internet cable connecting my Propeller if I ever see this.)

    That being said, there is zero reason why text based materials couldn't be displayed very easily given what we already have.
    Even some basic html tags like <CENTER></CENTER> or <H1><H2><H3> could be translated into various colors.
    (ie: the Linux lynx browser)

    An idea I've toyed with for a while is supporting some special ?HML commands hidden within the remark of a normal
    webpage. Something like:

    <-- <SPECIAL CODES> --!>

    The micro would be programmed to see these special codes while the rest of the world remained blissfully ignorant
    of what was going on. A kind of web-inside-a-web so to speak. You know, the kind of thing that imaginative sci-fi thriller
    movies might have. (Only without all the secret society stuff.)

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Feature Projects: PropellerPowered.com
    Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.

    Post Edited (Oldbitcollector) : 6/22/2010 4:28:08 AM GMT
  • Cluso99Cluso99 Posts: 18,069
    edited 2010-06-22 04:38
    OBC: SciFi indeed. A number of years ago I wrote code to embed & decode a binary file into a JPG file. Back then it was not easy to have your own web site to handle (serve up) files. However, it was easy to get a free Homestead or Geocities website and you could upload your own graphics. Hey presto, you could deliver a binary file within the graphics file.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    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
  • heaterheater Posts: 3,370
    edited 2010-06-22 06:24
    Jazzed: "...and ZOG is GNU ... I've looked[noparse]:)[/noparse]."

    No you haven't. There is no mention of licensing in any of the ZOG files.

    In the unlikely event that someone is worried by such things I would probably put the LGPL or MIT license on it. Is there a "Do what you want with this file if you don't bother me license."?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    For me, the past is not over yet.
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2010-06-22 09:01
    Re jazzed "@Dr_A, I guess I didn't make it very clear that the proposal is not for a full-blown Web Browser."

    Yes, I agree. Start with small steps and build it gradually. HTML has become a very useful standard. When I do a visit at my local nursing home, their patient notes are on a 'web browser' program. It looks like the internet - buttons, pictures, graphics etc. But it isn't - the page is being served up by a local server and the computer is deliberately not connected to the 'net. The clever thing is that no training is required - everyone knows how to use a web browser.

    HTML is *better* than VT100. Now we have done VT100, it is time to look at the next challenge. I think what you are proposing is a great idea.

    I'm pulling together some ideas from your other thread on Big Spin. When Cluso designed the triblade and heater did the Z80 emulation, the key with external ram was speed. Hence the parallel ram. But speed is not the issue here. What you want is familiarity - a screen that you intuitively know what to do with. Buttons, text, graphics, text boxes etc. So I'm thinking about a hardware model that has one or a few of Bill Henning's serial ram chips. That only uses a couple of pins so the propeller stil has lots of spare pins for I/O.

    Next = put Big Spin as an emulation in a cog, with serial ram containing the program. Maybe load it from an sd card - we have all that working now anyway so the eeprom doesn't need to do much.

    But don't try to be fancy yet with caching. Just mindlessly load each spin instruction off an sd ram chip, execute it, then get the next one. Drop out square root and a couple of string instructions or whatever it takes to free up enough memory to add a serial ram driver. Later on, caching can be added. But right now it might make the whole thing too daunting.

    Aim to free up all of the hub ram for graphics, or a hybrid of graphics and the VGA/TV text driver.

    Then you can start getting really clever. Want a really fancy looking button? Just load a bitmap off the sd card and put it at a certain location on the screen.

    So I suppose one question (for myself, and others), how much code does the bare minimum serial ram drive code take?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.smarthome.viviti.com/propeller
  • Bill HenningBill Henning Posts: 6,445
    edited 2010-06-22 12:45
    Dr_Acula,

    Several other guys had the SPI RAM's working with the Prop before me... what I came up with was VMCOG, which is virtual memory for the prop, and makes a decent hardware abstraction layer so apps can use external memory with a common interface. In the case of slow SPI memory, VMCOG is also a way of making them run MUCH faster [noparse]:)[/noparse]

    It is actually much easier to build VMCOG support into bigspin that building direct SPI ram handling in, and using VMCOG, bigspin would be MUCH faster than running SPI ram's directly (which would also take up more room in the bigspin cog)

    Another good approach is Jazzed's caching eeprom driver - that should also make for decent speed bigspin, however it does not expand the variable space.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.mikronauts.com E-mail: mikronauts _at_ gmail _dot_ com
    My products: Morpheus / Mem+ / PropCade / FlexMem / VMCOG / Propteus / Proteus / SerPlug
    and 6.250MHz Crystals to run Propellers at 100MHz & 5.0" OEM TFT VGA LCD modules
    Las - Large model assembler Largos - upcoming nano operating system
  • jazzedjazzed Posts: 11,803
    edited 2010-06-23 05:32
    heater said...
    Jazzed: "...and ZOG is GNU ... I've looked[noparse]:)[/noparse]."

    No you haven't. There is no mention of licensing in any of the ZOG files.
    I wasn't referring to licensing. I was referring to Lynx requiring a GNU tool chain.
    ZOG allows for using the GNU tool chain which at some point will compile 99%
    of all C programs just like the all the other GNU tool chains can.

    Cheers,
    --Steve

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Pages: Propeller JVM
  • heaterheater Posts: 3,370
    edited 2010-06-23 05:43
    Sorry Jazzed, I realized later that I had read you wrongly.

    No idea how big Lynx is, I'd be surprised if we could get it to fit in our XMM solutions.

    On a related topic I would like to get the uIP stack working under Zog using SLIP as a network connection to a PC or router.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    For me, the past is not over yet.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-06-23 06:33
    Here's a document that describes XHTML Basic, which is designed for cell phones and PDAs (i.e. small screens):

    www.w3.org/TR/xhtml-basic/

    A Prop-centric browser may need to set its sights lower still, however.

    -Phil
  • Cluso99Cluso99 Posts: 18,069
    edited 2010-06-23 07:14
    OK: Here is the challenge... We want a minimum of 1024x786 x6 bit color graphics (that is what the VGA driver does) = 768Kx6bits = 576KB (if we compact the 6 bits into bytes). We want this in 1 prop and no SRAM, no latches, no support chips, and we want to fully decode web pages. A big prize for the winner! Not even PropII will have enough SRAM.

    So, lower sights are required (as Phil rightly said).

    Of course, with expanded hardware, there are other ways to achieve this. However, look at the processing requirements for rendering the image. I think the prop may well be too slow for a decent display. Although I hate to say it, but I think this is a job for another processor(s) or FPGA's. IMHO it is just not a good Prop solution.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    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
  • jazzedjazzed Posts: 11,803
    edited 2010-06-23 14:58
    Clearly 1024x768 6bit color won't happen on Propeller, but we all knew that.
    Clearly using the full HTML specification is not possible, but I've said that several times now.
    As for the rest, we'll see what happens.

    Cheers,
    --Steve

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Pages: Propeller JVM
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-06-23 15:14
    There's also Compact HTML:

    www.w3.org/TR/1998/NOTE-compactHTML-19980209/#www3

    This is designed to fit on a small screen without scrolling. This might make it possible to render the screen on the fly so the page would not have to be stored in its entirety in a separate buffer.

    -Phil
  • jazzedjazzed Posts: 11,803
    edited 2010-06-23 16:15
    Hey Phil,

    Now that's a fair target. Supporting an existing standard would be best. We'll see if it's doable.

    Thanks for finding that.
    --Steve
    Phil Pilgrim (PhiPi) said...
    There's also Compact HTML:

    www.w3.org/TR/1998/NOTE-compactHTML-19980209/#www3

    This is designed to fit on a small screen without scrolling. This might make it possible to render the screen on the fly so the page would not have to be stored in its entirety in a separate buffer.

    -Phil
    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Pages: Propeller JVM
  • Invent-O-DocInvent-O-Doc Posts: 768
    edited 2010-06-24 12:09
    A simplified HTML, even with a text based VGA driver can really simplify user interaction. What about the links? Sure we could have it serve up linked pages of an SD card, but what about adding functionality to execute a SPIN routine in the HTML code? This would make useful interactive applications that would be much easier to author. Any thoughts?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tom Talbot
    New Market, MD, USA
  • jazzedjazzed Posts: 11,803
    edited 2010-06-24 14:31
    Invent-O-Doc said...
    A simplified HTML, even with a text based VGA driver can really simplify user interaction. What about the links? Sure we could have it serve up linked pages of an SD card, but what about adding functionality to execute a SPIN routine in the HTML code? This would make useful interactive applications that would be much easier to author. Any thoughts?
    Supporting links would be useful and are important to include some way.

    Coincidently, I've been staring at the APPLET and SCRIPT tags and wondering how they would be used. Short SPIN byte-code programs might be loaded with the APPLET tag. I don't know how useful that would be except maybe in handling some events.

    I don't know if there would be room for a separate interpreter for SCRIPT unless it could be loaded on demand into a COG and may be a small subset of BASIC. As it is onload, onclick and other events would be pre-defined to interact with the server side, but with a small scripting engine (or SPIN APPLET) some things could be done exclusively on the client.

    All of this is subject to constraints of course.

    Cheers,
    --Steve

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Pages: Propeller JVM
Sign In or Register to comment.