![]() |
Forum Index : Microcontroller and PC projects : Micromite interrupt composite video??
![]() ![]() |
|||||
Author | Message | ||||
halldave![]() Senior Member ![]() Joined: 04/05/2014 Location: AustraliaPosts: 121 |
Just looking at the MicroChip Direct, thought I try out their free prototype programming. I clicked one of the pretty pictures on the right hand side. They require a 4 digit Microchip MPLABŪ generated checksum, whereas the firmware readme file only has a MPLAB X checksum which is 8 characters Is there anyway to convert these, do I drop the first or last 4 or just not worry about it, wait and then program myself regards David |
||||
Zonker![]() Guru ![]() Joined: 18/08/2012 Location: United StatesPosts: 767 |
Yikes... I don't want to seem like a bitch here... But, is there a way to add a simple sound out to create the ASCII "bell" sound...? might be nice... |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Programming the PIC32 needs a PICkit3 or clone, and the MPLAB X IDE. Part of the MPLAB install, will be an application called MPLAB IPE, which is really all you need if all you want to do, is program the chips. This is normally setup with a seperate icon on your desktop. I just deleted the icons for the other bits of MPLAB I was never planning to use. Then you just load the HEX file, connect to the device, and away you go. MPLAB X is free, and I don't recall needing any key or checksum etc, to get it installed and working. Smoke makes things work. When the smoke gets out, it stops! |
||||
halldave![]() Senior Member ![]() Joined: 04/05/2014 Location: AustraliaPosts: 121 |
Yep I have pickit3, however I was trying to take up the free programming offer, I have mplabx installed on my mac and have used it to prog the micromite chips I will order blanks, thanks anyway David |
||||
Gizmo![]() Admin Group ![]() Joined: 05/06/2004 Location: AustraliaPosts: 5119 |
Geoff big thumbs up for the upcoming terminal project. ![]() I used to fix Wyse terminals back in the 90's, and collected a few over the years, all gone now. The terminal will be a handy and fun little device, and I'm sure I have an old VGA LCD monitor somewhere I could cram it into. Glenn The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
MicroBlocks![]() Guru ![]() Joined: 12/05/2012 Location: ThailandPosts: 2209 |
I have an order of 50 pieces DIP 32MX250F128B-I/SP 50Mhz and a few SOIC on the way (expected delivery this Monday). I will have them for sale from that moment for 6US$, shipping is 2US$ in padded envelope takes about 10 days. Microblocks. Build with logic. |
||||
psergiu![]() Regular Member ![]() Joined: 09/02/2013 Location: United StatesPosts: 83 |
Also, some more additions, if possible: - I know that ESC[1m ( VT100 bright/bold ) and ESC[2m ( VT100 dim ) cannot be added - but can they be mapped to Reverse & Underline too ? If you use this board to connect to a UNIX machine, this will make reading the man pages easier using the default VT100 termcap file. - ESC[5m - VT100 Blink - flash that character on/off (or normal/reverse video, XOR the char position with a rectangle the size of the font cell). - Custom escape char to report current graphical resolution - If enough RAM is available - scroll back buffer (more on lower resolutions) - Scroll with Shift-PgUp / Shift-PgDn, terminal snaps back to current position if any char is received - like in the Linux console. And a Question: Is there enough flash available to add the alternate font tables ? ESC( and ESC) Thanks. |
||||
BobD![]() Guru ![]() Joined: 07/12/2011 Location: AustraliaPosts: 935 |
I bought the June issue of Silicon Chip this afternoon from the local newsagent. |
||||
halldave![]() Senior Member ![]() Joined: 04/05/2014 Location: AustraliaPosts: 121 |
i off to do a drive past a few newsagents Thanks Bob |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Yep, me too, and I am in New Zealand. I get mine from Jaycar, who always seem to be the first to have SC magazine over here. Smoke makes things work. When the smoke gets out, it stops! |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
Mine arrive in the post yesterday. It was 3 weeks later than NZ last month! Every dog has his day... Jim VK7JH MMedit |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3292 |
No sound, but I was thinking of making the screen flash white. I still have not figured out how to do that though. Great idea thanks, it is on my todo list. No, this is not possible because all chars are converted to bitmaps for display and the firmware would not be able to track which pixels are supposed to be flashing (not enough RAM). Doable. I will add it to the todo list. That could be done but would be very hard, I will have to think about that one. Yes, plenty of flash. The problem is getting the fonts in a format that I could use in the source code (ie, C). Does anyone have them in a non image format? Geoff Geoff Graham - http://geoffg.net |
||||
MicroBlocks![]() Guru ![]() Joined: 12/05/2012 Location: ThailandPosts: 2209 |
If there is enough flash available would supporting an SD card be possible. You would then be able to have a basic program on the SD and XMODEM (or just a stream ) it to/from the uMite. Making a copy of a program would then not need a PC. That would be very useful. Other future uses might then be possible like having a simple logger that writes all incoming data to a file. Simple data loggers are popular and would enable lots of projects to collect data that can be analyzed on a pc. Microblocks. Build with logic. |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Interesting idea, TZA. I also agree that basic logging is something many people want in a terminal, so would be a plus. Although, this is getting close-ish to what the monochrome MaxiMite is, albeit without the built-in MMBasic. Adding filesystem support to the 250 might want to gobble-up more flash then the chip has available, but I suppose if you kept it simple(pre-defined filenames, root-access only, FAT16 only, no folders etc), perhaps it could be done. Maybe the terminal could introduce some new settings in the menu, to take advantage of the likes of an external RTC like the MicroMite already does, and perhaps just re-directing the terminal output as plain text(without any VT100 codes), which could then be fed to the likes of an optional OpenLog module? What's your take on TZA's idea, Mr. Graham? Smoke makes things work. When the smoke gets out, it stops! |
||||
psergiu![]() Regular Member ![]() Joined: 09/02/2013 Location: United StatesPosts: 83 |
1) For 10-20 screen refresh cycles, inverse the whole output. Might not be possible as you are using SPI/DMA to send out the video stream and i don't know if you can trick-it to perform the inversing on the fly. 2) as the BEL signal is supposed to stop console output while the sound is played, just XOR all video RAM, wait a bit (.2 sec) then XOR video RAM back That could be done but would be very hard, I will have to think about that one. I have skimmed a bit the source code and it looks like the video RAM is a contiguous memory area - you will have to first allocate RAM for everything else (serial buffer) then all the rest for the framebuffer. You have to use VideoBuf just for the "writing/reading to/from video ram" part (except ScrollUp) and fit VideoBuf at the bottom of the allocated memory chunk. This way, all the memory above VideoBuf becomes the scroll-back buffer. I think it will be just a couple of lines in VGA but might be 2-3 whole screens on Composite output. ScrollUp() should use the full framebuffer zone (in order to move old data off-screen into the scroll-back buffer) Don't know about ScrollDown. Then, in the video display interrupt you subtract a value from VPtr so you can display a "scrolled up" image, that value being increased/decreased in one char height increment (while still between the framebuffer limits) in the main loop with Shift+PgUp / Shift+PgDn. In VideoPutc you reset that value to 0 so the display "snaps back down" every time something new appears on the screen. Yes, plenty of flash. The problem is getting the fonts in a format that I could use in the source code (ie, C). Does anyone have them in a non image format? Geoff If we could find them, they could be converted. Anyone in here still has an original VT100-compatible terminal ? Can you please check how are the alternate font pages displayed in double-height and double-width modes ? Just pixel-doubling ? Thanks. |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4044 |
I'm doubtful RAM can be spared for PageUp/Dn but much of the rest sounds good. John |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |