+mytek Posted January 8, 2020 Share Posted January 8, 2020 So if I understand this correctly. You have created a virtual 1027 printer that prints to a text file over the network, or is it a pdf? Either instance would be better then a real 1027, since you no longer have to worry about the print head self-destructing before your eyes . Nice to see international character support ? . Quote Link to comment Share on other sites More sharing options...
mozzwald Posted January 8, 2020 Share Posted January 8, 2020 1 minute ago, mytek said: So if I understand this correctly. You have created a virtual 1027 printer that prints to a text file over the network, or is it a pdf? Either instance would be better then a real 1027, since you no longer have to worry about the print head self-destructing before your eyes . Nice to see international character support ? . Virtual 1027 printer that prints to a PDF file which can be downloaded from the FujiNet 2 Quote Link to comment Share on other sites More sharing options...
tschak909 Posted January 8, 2020 Author Share Posted January 8, 2020 There will be other virtual printers, as well, the 1027 is the first. -Thom 2 Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted January 8, 2020 Share Posted January 8, 2020 (edited) Sorry for not having zip, look here: http://www.classiccmp.org/cpmarchives/ftp.php?b=cpm/Software/UserGroups/FOG/FOG024/ C code may be useful. Edit: Attached is a zip of the unsQueezed files. FOG024.zip Edited January 8, 2020 by Kyle22 Added .zip Quote Link to comment Share on other sites More sharing options...
tschak909 Posted January 8, 2020 Author Share Posted January 8, 2020 For anyone who has one of the following printers: * Atari 820 * Atari 822 * Atari 825 * Atari 1025 Please run a program that outputs the complete character set, e.g. 10 FOR X=1 to 255:LPRINT CHR$(X);:NEXT X and take close up pictures of the printed output. I will try to use these images to create postscript type 1 fonts for the virtual PDF output. -Thom 2 Quote Link to comment Share on other sites More sharing options...
tschak909 Posted January 8, 2020 Author Share Posted January 8, 2020 I'm going ahead and putting together a CLI config tool that will run under SpartaDOS (and SpartaDOS X), OS/A+, DOS XL, XDOS, etc. 4 Quote Link to comment Share on other sites More sharing options...
TheMontezuma Posted January 8, 2020 Share Posted January 8, 2020 My small contribution: https://github.com/FujiNetWIFI/atariwifi/tree/master/esp32/tests/SIO2BT ESP32 can act as a Bluetooth transceiver. That means FujiNet will have a new feature ? 7 1 Quote Link to comment Share on other sites More sharing options...
tschak909 Posted January 8, 2020 Author Share Posted January 8, 2020 so are you using it as a repeater? -Thom Quote Link to comment Share on other sites More sharing options...
mozzwald Posted January 8, 2020 Share Posted January 8, 2020 I added a snippet to the modem850 code last night so that if you dial 5551234 the FujiNet will respond with "CONNECT <baud>". This can be used with the Bobterm phone book and macros for dialing a telnet BBS by putting 5551234 in the phone number field and "ATDTbbs.example.com:port" in a macro field. It's just tricking BobTerm into thinking the modem dial was successful so it will start running the macros. @ndary did some testing and its working good so far: His next test will be running a BBS server. 6 Quote Link to comment Share on other sites More sharing options...
TheMontezuma Posted January 8, 2020 Share Posted January 8, 2020 2 hours ago, tschak909 said: so are you using it as a repeater? -Thom Kind of. It sends via serial whatever it receives via Bluetooth and vice versa. 2 Quote Link to comment Share on other sites More sharing options...
tschak909 Posted January 9, 2020 Author Share Posted January 9, 2020 Some #Atari 8-bit users use a DOS with a command line interface. I have written a CLI version of the #FujiNet configuration tool, as a sketch to see what one would look like and how it would function. 6 Quote Link to comment Share on other sites More sharing options...
tschak909 Posted January 9, 2020 Author Share Posted January 9, 2020 Does anyone want to take the fnc program that's in C, and port it to assembler? It'll be a lot smaller, for sure, and we need assembler examples. https://github.com/FujiNetWIFI/atariwifi/tree/master/esp32/tests/multilator-rev2/atari-sdx (p.s. anything I can do from the firmware end to make it easier to handle in assembler, let me know.) -Thom 1 Quote Link to comment Share on other sites More sharing options...
gozar Posted January 10, 2020 Share Posted January 10, 2020 On 1/7/2020 at 7:05 PM, mozzwald said: Virtual 1027 printer that prints to a PDF file which can be downloaded from the FujiNet I have just the font for this: https://ctrlcctrlv.github.io/TT2020/docs/ 2 Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted January 10, 2020 Share Posted January 10, 2020 How about an Epson JX-80 2 pdf or gif/jpeg for color pics? Quote Link to comment Share on other sites More sharing options...
tschak909 Posted January 10, 2020 Author Share Posted January 10, 2020 initial Epson will be FX emulation. -Thom 1 Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted January 10, 2020 Share Posted January 10, 2020 24 minutes ago, tschak909 said: initial Epson will be FX emulation. -Thom Cool. JX color is only a few added commands. That should be piece of cake work for a C coder. Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted January 10, 2020 Share Posted January 10, 2020 Just had another thought: How about Network printers? I have a really sweet hp DesignJet 510 on the network. :) Quote Link to comment Share on other sites More sharing options...
tschak909 Posted January 10, 2020 Author Share Posted January 10, 2020 5 minutes ago, Kyle22 said: Cool. JX color is only a few added commands. That should be piece of cake work for a C coder. I detect a slice of passive aggressiveness, which I do not appreciate. But, if you aren't, then, I'll try to be more succinct: * I am writing multiple pieces of code across multiple fronts (watch the github commit logs). I have to pick our battles carefully. * @jeffpiep has volunteered, and is doing an excellent job writing the printer emulation. We've agreed on an initial set of features that will allow us to get this done an in a version 1.0 state. * The initial plan is to render to PDF. This gives us a solid path to support printing to IPP and cloud printing (such as Apple CloudPrint) devices. This device has the potential to be updated OTA, which we will exploit to offer new versions of features as they come available, so, if you can't help code these features, be patient, they will come. -Thom 1 Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted January 10, 2020 Share Posted January 10, 2020 I simply provided an idea. I am NOT good at C. That's all I meant. To a good coder it would be cake. I muddled along for months with that SIO 2 CP/M program. A good coder could have done it in days. No offense to anyone. BTW, I am only myself. Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted January 10, 2020 Share Posted January 10, 2020 Also, there are many (NON-Win) Printers that live on the network and accept ASCII. RAW on port 9100 is the most common. Quote Link to comment Share on other sites More sharing options...
tschak909 Posted January 10, 2020 Author Share Posted January 10, 2020 Am familiar with JetDirect, yes. We'll add it, just not immediately. The PDF output is more useful to more people initially. -Thom 2 Quote Link to comment Share on other sites More sharing options...
TheMontezuma Posted January 10, 2020 Share Posted January 10, 2020 (edited) On 1/6/2020 at 5:20 AM, tschak909 said: the next long stretch of time will be defined by adjusting these 6 timing values, which occur at different points along each and every #Atari SIO transaction. If you have insight, or can help get tests/esp32/multilator-rev2 working best, please help. ESP32 code is corrected: https://github.com/FujiNetWIFI/atariwifi/pull/46 Below some background for interested people: My observations with a Logic Analyzer was that after several successful SIO request - responce cycles, ATARI makes a break for a few seconds, then the communication continues. First I wanted to see how the "Data In" (from ESP32 to ATARI) signal looks like. I looked with an oscilloscope at the signal directly at the ESP32: and after a level shifter: Perhaps not perfect, but looks good enough. Then I looked closer at the Logic Analyzer recordings: and found the problem T5 timing (the left arrow) is not respected by ESP32. The second required delay (the right arrow) is not mentioned explicitely in the SIO spec (although it is visible on the diagrams). Below as a reference is a proper communication via SIO2PC with RespeQt: Regarding timing info in SIO spec - some timings are only relevant for the ATARI SIO code implementation (and ESP32 does not need to care about them = does not need to wait). Beside correction of the "sleep" handling in ESP32 code, the major problem was, that writing to ATARI was not followed by a flush() call. For example "ACK" byte landed in TxD buffer and was send later together with the COMPLETE byte (without required delay between them). Edited January 10, 2020 by TheMontezuma 4 1 Quote Link to comment Share on other sites More sharing options...
E474 Posted January 10, 2020 Share Posted January 10, 2020 On 1/8/2020 at 5:03 AM, tschak909 said: For anyone who has one of the following printers: * Atari 820 * Atari 822 * Atari 825 * Atari 1025 Please run a program that outputs the complete character set, e.g. 10 FOR X=1 to 255:LPRINT CHR$(X);:NEXT X and take close up pictures of the printed output. I will try to use these images to create postscript type 1 fonts for the virtual PDF output. -Thom Hi, is this thread relevant for font info: Also, is there anyway to detect the capabilities of the ESP device attached - I'm thinking specifically of whether there is an sd-card/file system on the board? I would rather (at the moment) make a board without an sd-card as I have plenty of local networked storage. Quote Link to comment Share on other sites More sharing options...
mozzwald Posted January 10, 2020 Share Posted January 10, 2020 4 minutes ago, E474 said: Also, is there anyway to detect the capabilities of the ESP device attached - I'm thinking specifically of whether there is an sd-card/file system on the board? I would rather (at the moment) make a board without an sd-card as I have plenty of local networked storage. Yes, we can detect if SD card is present or not (as it is a removable device) so the code will have to check that and respond accordingly. Quote Link to comment Share on other sites More sharing options...
manterola Posted January 10, 2020 Share Posted January 10, 2020 4 hours ago, TheMontezuma said: ESP32 code is corrected: https://github.com/FujiNetWIFI/atariwifi/pull/46 Wow, top quality job Macin! 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.