Announcement

Collapse

Forum etiquette

Our mission ...

This forum is part of our mission to promote the preservation of vintage computers through education and outreach. (In real life we also run events and have a museum.) We encourage you to join us, participate, share your knowledge, and enjoy.

This forum has been around in this format for over 15 years. These rules and guidelines help us maintain a healthy and active community, and we moderate the forum to keep things on track. Please familiarize yourself with these rules and guidelines.


Remain civil and respectful

There are several hundred people who actively participate here. People come from all different backgrounds and will have different ways of seeing things. You will not agree with everything you read here. Back-and-forth discussions are fine but do not cross the line into rude or disrespectful behavior.

Conduct yourself as you would at any other place where people come together in person to discuss their hobby. If you wouldn't say something to somebody in person, then you probably should not be writing it here.

This should be obvious but, just in case: profanity, threats, slurs against any group (sexual, racial, gender, etc.) will not be tolerated.


Stay close to the original topic being discussed
  • If you are starting a new thread choose a reasonable sub-forum to start your thread. (If you choose incorrectly don't worry, we can fix that.)
  • If you are responding to a thread, stay on topic - the original poster was trying to achieve something. You can always start a new thread instead of potentially "hijacking" an existing thread.



Contribute something meaningful

To put things in engineering terms, we value a high signal to noise ratio. Coming here should not be a waste of time.
  • This is not a chat room. If you are taking less than 30 seconds to make a post then you are probably doing something wrong. A post should be on topic, clear, and contribute something meaningful to the discussion. If people read your posts and feel that their time as been wasted, they will stop reading your posts. Worse yet, they will stop visiting and we'll lose their experience and contributions.
  • Do not bump threads.
  • Do not "necro-post" unless you are following up to a specific person on a specific thread. And even then, that person may have moved on. Just start a new thread for your related topic.
  • Use the Private Message system for posts that are targeted at a specific person.


"PM Sent!" messages (or, how to use the Private Message system)

This forum has a private message feature that we want people to use for messages that are not of general interest to other members.

In short, if you are going to reply to a thread and that reply is targeted to a specific individual and not of interest to anybody else (either now or in the future) then send a private message instead.

Here are some obvious examples of when you should not reply to a thread and use the PM system instead:
  • "PM Sent!": Do not tell the rest of us that you sent a PM ... the forum software will tell the other person that they have a PM waiting.
  • "How much is shipping to ....": This is a very specific and directed question that is not of interest to anybody else.


Why do we have this policy? Sending a "PM Sent!" type message basically wastes everybody else's time by making them having to scroll past a post in a thread that looks to be updated, when the update is not meaningful. And the person you are sending the PM to will be notified by the forum software that they have a message waiting for them. Look up at the top near the right edge where it says 'Notifications' ... if you have a PM waiting, it will tell you there.

Copyright and other legal issues

We are here to discuss vintage computing, so discussing software, books, and other intellectual property that is on-topic is fine. We don't want people using these forums to discuss or enable copyright violations or other things that are against the law; whether you agree with the law or not is irrelevant. Do not use our resources for something that is legally or morally questionable.

Our discussions here generally fall under "fair use." Telling people how to pirate a software title is an example of something that is not allowable here.


Reporting problematic posts

If you see spam, a wildly off-topic post, or something abusive or illegal please report the thread by clicking on the "Report Post" icon. (It looks like an exclamation point in a triangle and it is available under every post.) This send a notification to all of the moderators, so somebody will see it and deal with it.

If you are unsure you may consider sending a private message to a moderator instead.


New user moderation

New users are directly moderated so that we can weed spammers out early. This means that for your first 10 posts you will have some delay before they are seen. We understand this can be disruptive to the flow of conversation and we try to keep up with our new user moderation duties to avoid undue inconvenience. Please do not make duplicate posts, extra posts to bump your post count, or ask the moderators to expedite this process; 10 moderated posts will go by quickly.

New users also have a smaller personal message inbox limit and are rate limited when sending PMs to other users.


Other suggestions
  • Use Google, books, or other definitive sources. There is a lot of information out there.
  • Don't make people guess at what you are trying to say; we are not mind readers. Be clear and concise.
  • Spelling and grammar are not rated, but they do make a post easier to read.
See more
See less

Tek 4051 BASIC Simulator

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Tek 4051 BASIC Simulator

    I'm working on a Tektronix 4051 BASIC and screen simulator that runs on Windows. It's not complete yet, but I can run some of the statements and perform some simple graphics. The screen has the look of the real thing, complete with letters overwriting letters if you backspace.

    If you'd like to get on my mailing list for updates and access to the FTP site where I post everything, send me a note.

    Other keywords for searching: 4051 4052 405x

    #2
    Are you emulating a 6800 and running the 4051 firmware?

    Comment


      #3
      Originally posted by gslick View Post
      Are you emulating a 6800 and running the 4051 firmware?
      No. It's written in C++ and the intent is to simulate what it does, not how it does it.
      It won't be perfect, but hopefully good enough, eventually, to run some decent programs.

      Let me see if I can attach my latest screen sample here...

      Version.0.07.GraphicsStar.jpg

      Comment


        #4
        Version 0.07 of the simulator, which I've just posted, now supports 21 BASIC statements.

        I would be happy to have another tester or two. It should run on XP or Win7.
        If you'd like to help, send me a message with your name and what country you're in.

        Comment


          #5
          Great, i loved this machine that is widely unknown today, it was fun to code in Basic and 6800 machine code.. to try out the "call exec" and find out, which adresses are i/o registers, that sometimes burned holes in the screen
          There was even a kind of shootnig game with to flying "v" symbols, and when the screen was busy, you had to "page" the screen..
          But is there software for this machine anywhere? The software that i had, does not exists anymore.
          But i still have a "4051 Basis" overview of the commands and printouts of the disabled and commented firmware, that i made with a self-written disassembler.

          Yes, i would like to try out the simulator..

          Comment


            #6
            Originally posted by salsaandi View Post
            Yes, i would like to try out the simulator..
            salsaandi - Check your private messages here for my contact info....

            Comment


              #7
              It's much further along now. Still looking for more folks to test and/or try it.

              Comment


                #8
                Demo Video

                I've posted a demo video of the simulator on YouTube.

                I should have an even better version out in a week or two...

                Comment


                  #9
                  Version 0.11 Release

                  Originally posted by Brad-4051 View Post
                  I've posted a demo video of the simulator on YouTube.

                  I should have an even better version out in a week or two...
                  I finally released the new version of the simulator. Lots of bug fixes, visual enhancements,
                  and a few number commands and functions. Contact me through here, and with the info
                  at the end of the YouTube video if you want to try it.

                  Comment


                    #10
                    I have been 'playing' with the development of a browser/Javascript Tektronix 4051 emulator. This contains an emulation of the 6800 microprocessor instruction set so can run the ROMS 'as is'.

                    I have got a rudimentary keyboard and display working so far - with the next 'instalment' being the ability to load and save programs (although how I will do this in 'pure' Javascript I am not quite sure at the moment).

                    I was originally thinking about supporting the on-board tape drive - but then started thinking about the 4051 communications pack. If I remember correctly - this had the ability to load and save programs in ASCII from/to the communications port. My thought was to use a multi-line Text box as program input a separate one as program output. The user could copy and paste a program from the host operating system into the 'input' text box and then invoke 'OLD @40:' from the emulator keyboard which (if memory serves me correctly) should load an ASCII program from the communications port. Ditto with 'SAVE @40:' which should output the current BASIC program to the communications port.

                    Now the problem - does anyone have the ROM images for the 4051 communications port adapter? I am unable to locate them. I would also be interested in the ROM images for the real time clock module and anything else that anyone would like to put up on Bitsavers.

                    Also, does anyone have the maintenance manual(s) for the 4052A? I notice that the firmware and microcode for the 4052A ars on Bitsavers - but the documentation appears to be missing.

                    PS: Thanks Al for your great website

                    Dave

                    Comment


                      #11
                      Originally posted by daver2 View Post
                      PS: Thanks Al for your great website
                      Dave
                      You're welcome. I should have a comms cart around somewhere.
                      Reading a huge pile of DC300 carts is on the list of things to do as well.

                      Comment


                        #12
                        Al,

                        For clarification: The bit I am interested in is the ROM images within the communication adapter - not what is on the DC300 tape cartridges.

                        By the way - if anyone wants a copy of what I have done so far PM me and I will forward you a copy (although don't expect too much at this point in time...).

                        I will also see if anyone at the Tek museum(s) want a copy to put online so people can play with what was a really good bit of kit at the time (I used one whilst at University).

                        Dave

                        Comment


                          #13
                          I recently found a printout of a game that my dad wrote in Tektronix BASIC, and I'm interested in bringing it back to life. To that end I'd like to get access to the simulator. Since I'm a complete noob on this forum, I can't seem to figure out how to PM you for the FTP site information---could you please PM me instead?

                          Comment


                            #14
                            Hi tekfan and welcome to the forum.

                            If you need to send a private message - click on the person's name the original post was from and a pop-up menu will appear. One of the options is to send a private message.

                            If you want a copy of the simulator from brad-4051 you will need to send him a PM. If you want a copy of my Java script emulator - send me a PM enclosing your 'proper' e-mail address and I will ZIP up a copy and forward it to you. I still have no way to load and save programs yet because I have not been able to locate a copy of the communications cart ROMS yet. I am also still working on the screen and keyboard handling. Unfortunately - real work (!) and lack of ROMS has hampered any further progress. Perhaps I will have another look around the internet for the communications ROM images over this break.

                            Regards,

                            Dave

                            Comment


                              #15
                              Still no luck at finding the Tektronix communication cartridge ROM(S) on the web - so I have decided to use the HTML 5 FileReader from javascript to load an ASCII text file prepared by a host editor (e.g. TextWrangler under OS/X or Notepad under Windows) and to write an HPIB/GPIB device within my 4051 emulator to act as the means to load the specified file.

                              The FileReader part has been written and tested - so now I have to reacquaint myself with the HPIB/GPIB protocol...

                              Dave

                              Comment

                              Working...
                              X