Tyrop
Members-
Content Count
114 -
Joined
-
Last visited
Content Type
Profiles
Member Map
Forums
Blogs
Gallery
Calendar
Store
Everything posted by Tyrop
-
Is there a simple algorithm for bit testing in Atari Basic?
Tyrop replied to Tyrop's topic in Atari 5200 / 8-bit Programming
Even better, thanks! This helps me even more since I am approaching the limits of memory. You can learn a lot more on this forum more than reading books! -
Is there a simple algorithm for bit testing in Atari Basic?
Tyrop replied to Tyrop's topic in Atari 5200 / 8-bit Programming
This sounds nifty, but your second line has an emote stuck in there. Can you redo your second line? -
Is there a simple algorithm for bit testing in Atari Basic?
Tyrop replied to Tyrop's topic in Atari 5200 / 8-bit Programming
Yes, thanks, I am only checking one byte, specifically location 747 to see if a carrier is detected. Thank you for taking the time to write this for me. -
Is there a simple algorithm for bit testing in Atari Basic?
Tyrop replied to Tyrop's topic in Atari 5200 / 8-bit Programming
Wow, that's terrific, thank you for making that! -
I want to PEEK a memory location and test to see if the third bit is on. Is there a simpler algorithm in Atari Basic than peeking the location, if greater than 128 then subtract 128, if result is greater than 64 then subract 64, if result is greater than 32 then subtract 32, etc. ... to determine what bits are on?
-
Problem solved! Although I don't understand why. I put a check in "Enable extended baud rate support" and suddenly ALtirra showed up in TCPViews, and the protocol is TCP (not TCPV6). I can connect with microsoft telnet. The weird thing is that the check mark does not stay in the box. When I go back into serial settings, the check mark is gone. Anyway, it works, and I can host my old BBS.
-
Its not in Altirra. It is a separate program called TCPView.
-
Thanks phaeron for trying to help me. I am using Vista Home Premium, and the only firewall is in the router provided by my telepone/tv/internet provider (Verizon) and (not that I know that much about intenet protocols), I would figure I am already behind the firewall, and anyway, I have set the router to DMZ to my computer. I have windows firewall turned off and I have all antivirus disabled. Do I need to exit Altirra and go back into it after I make changes to the serial settings? I have been doing that, so maybe the changes have not been taking effect?
-
I think you might be on to something here. If you're in ASCII mode you can hit <Enter> to send commands to the modem. If you want to connect in ATASCII mode, you must use <ctrl>-M instead of <enter>. I didn't even think of that. and an OLD BBS geezer like me should remember that. Example: in the 80's/90's I knew every hayes command by heart - now I can hardly remember any of them. I really appreciate everyone's help. The problem does not seem to be on the outbound instance of Altirra. The outbound connects. I think it is on the inbound. I tried turning off "Require DTE baud rate to match" and I tried to telnet to ALtirra. I am using the same computer to run telnet and to run ALtirra. Still does not work.
-
I turned off incoming connections in Bobterm but that seems to have made no difference. I even tried using the Microsoft telnet client. Please see the pic below. TCPView shows that Telnet has "ESTABLISHED" a connection to the remote port 9000, and the process that immediately precedes it (which I assume is Altirra) shows a connection "ESTABLISHED" on local port 9000. Altirra still shows "waiting for connection on port 9000." TCPView shows no other process identified as "Altirra." I also show Altirra's serial settings to uncheck outbound connections. I tried checking the box for "accept IPV6 connections" and also tried unchecking it. Is there anything I am doing wrong?
-
In fact, here is a screenshot.
-
Yes, and Altirra shows up once in the list even thoug I have 2 instances running.
-
Thank you, where do you get test 28? Sysinternals says the localport is 49646 and remote port is 9000, and that the state is established. How do I use that info in Altirra?
-
I am using Altirra 1.9-test 22 to try to host my own bbs. I have two instances of Altirra open side-by-side. One is running my BBS (Dos is Spartados X and it is a BBS I wrote in BASIC and uses standard XIO statements to set up the R: handler). The other is running Bobterm. All check boxes are checked under serial ports except "enable extended baud rate support." Both instances have baud rate set to 300 and Ascii translation. On the Bobterm side, I issued "ATDI LOCALHOST 9000" and the blue message at the bottom says "Connected to LOCALHOST:9000". HOwever, the BBS side shows "Waiting for connection on port 9000." What am I doing wrong?
-
Has anyone heard about this? Pretty cool idea from Commodore to relaunch a "modernized" C64. http://www.commodoreusa.net/CUSA_C64.aspx
-
How does debugging in Altirra work?
Tyrop replied to Tyrop's topic in Atari 5200 / 8-bit Programming
That is great, thank you! It looks like a real powerful assembler. -
I assumed that ATasm made that symbol file, but now I looked a little closer and I think that file is created by the WUDSN interface to Eclipse if you use the -s command line option for ATasm (see assembler preferences screenshot below). Now, after looking at the WUDSN website, I think the author intended that symbol file to be used with Atari800Win Plus. So, I will use the -l option on ATasm to make the symbol file (btw, I think that symbol file only has labels and excludes equates). What extension does Altirra look for for the ATasm symbol file? edit - WUDSN's symbol file (beginning with xasm banner) appears to be a better symbol file to work with since it includes equates. Also, if I use WUDSN with the -l option, I must choose a different extension for the label file than .lbl because WUDSN's .lbl file would overwrite it.
-
Thank you for adding ATasm symbol support! Am I doing something wrong to see the symbols? Here is the source listing "Example.asm" (with labels highlighted: Here is the label file generated by Atasm, "Example.lbl" And here is Altirra running "Example.xex" showing in the console that the symbols were loaded, but I can only see the default symbols in the disassembly:
-
How does debugging in Altirra work?
Tyrop replied to Tyrop's topic in Atari 5200 / 8-bit Programming
I know this may be covered in other threads but I could not find the answer. Is there an English translation for the MADS instructions? I got many errors assembling my code written for Atasm. For instance, how do you .include? I will also see if I can figure out how to get WUDSN to create a listing file using ATasm, and then I will try to manually convert Atasm's listing and label file to MADS's format. -
How does debugging in Altirra work?
Tyrop replied to Tyrop's topic in Atari 5200 / 8-bit Programming
Phaeron, thanks for the answer. I've been putting off learning MADS but maybe its time I learned it and converted my source code to MADS syntax so I can have source-level debugging. -
How does debugging in Altirra work?
Tyrop replied to Tyrop's topic in Atari 5200 / 8-bit Programming
Do you know if ATASM can create the lab and lst file that will work? It creates a label file but it may notbe the exact same format as the one that MADS creates. As for the .lst, I cannot get ATASM to create it even by trying to pipe to a file. -
How does debugging in Altirra work?
Tyrop replied to Tyrop's topic in Atari 5200 / 8-bit Programming
It had the system labels, but also had the labels START and LOOP: -
How does debugging in Altirra work?
Tyrop replied to Tyrop's topic in Atari 5200 / 8-bit Programming
If I want to use ATASM, how do I get the listing and label files into Altirra? BTW, following phaeron's suggestion, I assembled the example program on the WUDSN website using MADS and I used the -t -l options. THe result was 2 files in the same folder as the example.xex file: example.lab and example.lst. Using ALtirra, I simply opened the example.xex file, and when I went into the disassembly window, I saw the labels. I saw the labels even though I did not do anything to separately load a label or listing file (which I think you are supposed to do using the .loadsym command from the console). Does this mean that ALtirra automatically looks for the listing and label files when you open the xex file? This leads me back to ask, how do I do this with ATASM? (I'd rather use ATASM over MADS at least for now). Altirra is an unbelievable piece of work. The fact that it shows the beam, and also traces my program even through the VBI completely floors me. I'm coming from trying to debug my program with EXDDT (Extended Dunion's Debugging Tool), on the real hardware which also amazed me because you can switch back and forth between the disassembly screen and the graphics screen and watch your program execute in slow motion. But Altirra's ability to single step in relation to the beam has got to be a dream for anyone debugging graphics. -
How does debugging in Altirra work?
Tyrop replied to Tyrop's topic in Atari 5200 / 8-bit Programming
Thanks for advice Rybags, I think you are right about the timing. I did have a "wait for next VBI" before I drew, but there must be an issue with it. I took the suggestion from other posts and I am using Eclipse with the WUDSN plug-in and ATASM. I am using the -v (prints assembly trace) and -s (prints symbol table) command line options but for some reason, ATASM is not creating either file. If I can figure out how to get ATASM to create the assmbly trace and symbol table, 1) will the formats work with Altirra, and 2) how do I get them into Altirra? -
I'm trying to animate some sprites in assembly langauge (in Gr. 8 ) and I am getting some sections of my sprites disappearing depending on where they are on the screen. I just downloaded Altirra and it is truly amazing. Is there any documentation on how to use it for debugging? I don't know what the difference is between using F11 and F10. What is the line that goes across the screen when you step? Is that a simulated electon beam that shows where the beam is in relation to the instruction being executed in the disassembly window? Is it possible to watch sections of memory change while stepping through the disassembly? For that matter, is it possible to keep an eye on the values of certain byte or word variables while single stepping?
