Author Topic: Your 83+'s display is too small?  (Read 7631 times)

0 Members and 1 Guest are viewing this topic.

Offline MGOS

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +95/-0
    • View Profile
Re: Your 83+'s display is too small?
« Reply #30 on: April 04, 2013, 07:46:48 am »
For any advanced color display (be it VGA or the the Sharp screen I posted) you need an extremely fast MCU to refresh the screen all along. You would need a graphics chip to handle this, even the arduino due (which finally works with the display! I will post the library later) wouldn't be fast enough too get a decent picture. The Sharp screen came with a graphics card which outputs Digital or VGA, I just don't know how to use it (it's 20 years old :P). It's a VAMP535 V1.00.
« Last Edit: April 04, 2013, 07:49:03 am by MGOS »

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Your 83+'s display is too small?
« Reply #31 on: April 04, 2013, 07:50:40 am »
I really want one of those old 83+ with a z80 in it. Imagine the possibilities with hardware I/O. Hook up any resolution screen without having to worry about OS routines! To write a byte from ram to the screen just do:
ld a, (nn)
out (n), a
Only if the screen driver can keep up with the cpu though. Otherwise some additional circuitry might be required.
If you like my work: why not give me an internet?








Offline MGOS

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +95/-0
    • View Profile
Re: Your 83+'s display is too small?
« Reply #32 on: April 04, 2013, 10:07:58 am »
Ok, I have rewritten the T6963 library for the Due :). The display can now be written a lot faster than before. I also used direct buffer reads to transmit the buffer from the calc (and no delay!). You may gain a bit more speed if you do it in asm, if you care :P it takes about 304 milliseconds for one screen (sending and displaying).

Axe code:
Code: [Select]
3->port
StoreGDB
FnOff
For(I,L6,L6+767)
{I}->B
For(8)
B . 128?0,1
->port
B*2->B
3->port
End
End
LnReg

Arduino code:
Code: [Select]
#include <T6963due.h>
#include <T6963due_Commands.h>

#define CLK 13
#define DAT 12

T6963 lcd(240,128,8,24);
byte pic[3840] = {0};

unsigned long start;
int t;
bool taken;

void setup()   {
  lcd.Initialize();
  lcd.clearCG(); // Clear character generator area
  lcd.clearGraphic(); // Clear graphic area
  lcd.clearText();
  pinMode(CLK,INPUT);
  pinMode(DAT,INPUT);
}



void loop()    {
  taken = false;
  while (digitalRead(CLK));
  for (int y = 0; y<64; y++){
    for (int n = 0; n < 12; n++){
      int c = 0;
      for (byte b = 0; b < 8; b++){
          while (!digitalRead(CLK));
          if (!taken) {start = millis(); taken = true;}
          c = c << 2;
          c |= digitalRead(DAT);
          lcd.n_delay();
          while (digitalRead(CLK));
          lcd.n_delay();
      }
      c *= 3;     
      pic[n*2+y*60] = c>>8;
      pic[n*2+y*60+30] = c>>8;
      pic[n*2+y*60+1] = c&0xFF;
      pic[n*2+y*60+31] = c&0xFF;
    }
  }
  lcd.DispBuff(pic);
  t = millis()-start;
  lcd.TextGoTo(25,15);
  lcd.WriteChar(t/100+'0');
  lcd.WriteChar((t%100)/10+'0');
  lcd.WriteChar(t%10+'0');
  lcd.WriteChar('m');
  lcd.WriteChar('s');
}


Video:
(the time needed to transmit and display is shown in the bottom right corner)



The arduino due library for the T6963:

Offline Dapianokid

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 539
  • Rating: +46/-27
  • Piano Deity Of Tomorrow
    • View Profile
Re: Your 83+'s display is too small?
« Reply #33 on: April 04, 2013, 10:10:11 am »
For any advanced color display (be it VGA or the the Sharp screen I posted) you need an extremely fast MCU to refresh the screen all along. You would need a graphics chip to handle this, even the arduino due (which finally works with the display! I will post the library later) wouldn't be fast enough too get a decent picture. The Sharp screen came with a graphics card which outputs Digital or VGA, I just don't know how to use it (it's 20 years old :P). It's a VAMP535 V1.00.

I have an old monitor with similar specs. Maybe we should hang out and find some tools, a few hours later, Omnimaga would be wowed again xD
Sir! Sir? Ah yes!
Yes, you sir! You seem to have lost something!
Oh? You don't know? You've lost the game, comrade. Good day!


"Sing us a song, dapianoman, sing us a song tonight! Because we're in the mood for a melody, and you've got us feeling alll riiiight"

I'm the president of the Anti Peer Abuse Protection Agency, A.K.A the APAPA. Become a proud owner of a shiny, chrome buttony thingy and an advocate of the protection of the beloved Peer.

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Your 83+'s display is too small?
« Reply #34 on: April 04, 2013, 10:21:36 am »
Look what benryves made: http://benryves.com/products/tvdemonstrator. It outputs composite instead of vga though.
If you like my work: why not give me an internet?








Offline MGOS

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +95/-0
    • View Profile
Re: Your 83+'s display is too small?
« Reply #35 on: April 04, 2013, 10:38:35 am »
Look what benryves made: http://benryves.com/products/tvdemonstrator. It outputs composite instead of vga though.
Wow, that's cool. It's interesting that he uses the screenshot function. I know that there is one, but I don't know how to use it...

I don't know if VGA or composite is really necessary for what I'm doing right know - it would be also 2 colors. I think you feel the main advantages not before you have a working graphics chip with a library which does all the tedious work (storage, text, plotting, ...) for you and then use serial commands to tell the chip what to do.

Offline Dapianokid

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 539
  • Rating: +46/-27
  • Piano Deity Of Tomorrow
    • View Profile
Re: Your 83+'s display is too small?
« Reply #36 on: April 04, 2013, 12:43:43 pm »
I actually looked that thing up awhile back and almost made one because my Dad was interested lol.
Yeah, most of the work done in this case will have to be done by the Arduino board/modified video card
Sir! Sir? Ah yes!
Yes, you sir! You seem to have lost something!
Oh? You don't know? You've lost the game, comrade. Good day!


"Sing us a song, dapianoman, sing us a song tonight! Because we're in the mood for a melody, and you've got us feeling alll riiiight"

I'm the president of the Anti Peer Abuse Protection Agency, A.K.A the APAPA. Become a proud owner of a shiny, chrome buttony thingy and an advocate of the protection of the beloved Peer.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Your 83+'s display is too small?
« Reply #37 on: April 05, 2013, 08:40:29 am »
That's a lot faster than before! Good job!

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7917
  • Rating: +373/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Your 83+'s display is too small?
« Reply #38 on: April 05, 2013, 09:05:28 pm »
Wow, that is looking pretty cool, awesome job!

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55828
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Your 83+'s display is too small?
« Reply #39 on: June 07, 2013, 11:51:53 pm »
I'm a bit late, but I'm impressed by the speed increase. I wonder if you could eventually do a video where a game is played?
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify