value allowed w/the L parameter$AA57 = Current MAXFILES setting$AAB1 = Default MAXFILES setting$BE43 EXEC file active (status)$BE44 Input file active (status)$BE45 Output file active (status)$BE46 Prefix active (status)$BE47 Directory file being accessed (status)$BE48 End of directory data reached (status)$BE49 Index to free string space (in K) (data)$BE4A Character count for WRITE's temporary buffer (data)$BE4B Current character count during keyboard entry (data)$BE4C ASCII code of last character sent to output (used in error detection)$BE4D Number of open files (doesn't include EXECs) (data)$BE4E EXEC file is being closed (status)$BE4F DIR file is being read (status)$BE58-59 The last used A parameter$BE5A-5C The last used B parameter$BE5D-5E The last used E parameter$BE5F-60 The last used L parameter$BE61 The last used S parameter$BE62 The last used D parameter$BE63-64 The last used F parameter$BE65-66 The last used R parameter$BE67 The last used V parameter$BE68-69 The last used parameter$BE6A The last used T parameter$BE6B The last used number after PR# or IN#$BF00-$BFFF = ProDOS's global page$C000-$FFFF = ROM$D000-$F7FF = Applesoft BASIC$E000-$F7FF = Integer BASIC$F800-$FFFF = Hex. MEMORY ADDRESSES $06-$09 = Free$18-$1F = Free$4E-$4F = Constantly randomly changing numbers$CE-$CF = Free$EB-$EF = Free$F9-$FF = Free$C9-$CD = Random numbers?$100-$95FF = Free$300-$3FF = Free$9600-$BFFF = DOS 3.3$9600-$BEFF = BASIC.SYSTEM$9D5E = Routine called after RESTART is pressed$A963 = Two-byte value that is the max. Without further ado, here's my really big PEEKs, POKEs, andCALLs and stuff list.Ī little more ado:As always, feel free to email/post to me questionsabout this stuff. Someof the info may be less than 100% accurate I haven't updated this in along while. Asusual, I claim no responsibility for any damage, etc. Some arefor ProDOS, some are for DOS 3.3, and some are for Applesoft BASIC in general.A lot of the DOS 3.3 stuff came from Bert Kersey's DOSTalk Scrapbook. You've probably seen a lot of these before, but you may still finda useful P,P, or C that is new to you (assuming it works! : ) ). So consider this more of a thing for my own knowledge.ĮDIT: Correction from the title, I meant the last character on the file.Apple II - PEEKS, POKES & CALLS Main | Links | Downloads | Apple // Texts | Apple // Specs | The "Sider" Hard Drive This is homework btw, and this is more of a thoroughness thing as I could just do everything based off the example file that was provided and if the teacher uses a different kind of file he won't dock us credit for it. Or could I even use ekg(0,fpath.end-1)Īny more efficient code suggestions would be welcome. So if I am at the end of the file like that, can I use tellg to get the location, then seekg to the value of tellg-1 then use peek on the character to find what it is? I am trying to determine if the last character in a file is an endline or if I have to add one myself before I add the data. I am writing a part of code to add some data to the end of a file that has been opened and read from. if your post does not appear in the new queue, just send a message to the moderators.make your questions relevant to other readers.give your post a meaningful title, i.e., NOT "I have a C++ problem" but, e.g., "Problem with nested for loops".thoroughly research for an answer first.Tips for improving your chances of getting helpful answers: Read these guidelines for how to ask smart questions.įor learning books, check The Definitive C++ Book Guide and Listįlair your post as SOLVED if you got the help you were looking for! If you need help with flairs, check out ITEM 1 in our guidelines page. Hasty-sounding questions get hasty answers, or none at all. New to C++? Learn at READ BEFORE POSTINGīefore you post, please read our sticky on proper code formatting. For general discussion and news about c++ see r/cpp. This is a subreddit for c++ questions with answers.
0 Comments
Leave a Reply. |