Scheming with the Coco and Android

My latest problem was my fancy input driver which changed long names into pairs of characters changed hex numbers like &H7C00 into something like &AA. Boo. I fixed it in a way that fixed the output driver, too. Atta-boy Earl.

Read more...

§784 · March 28, 2020 · CoCo, Urbane · (No comments) ·


My program is designed for a 64k Coco 2. It runs in ROM mode and uses hi-ram and the top K of lo-ram for itself. At present, once you run it, it returns to Direct mode. Now all characters in names are significant. SAM=5:SAUL=6:?SAM returns 5. My next step is to integrate the editor.

Read more...

§780 · March 24, 2020 · CoCo, Urbane · (No comments) ·


Lines going up from the cursor now are shown in their crunched version. Going down they are shown in their uncrunched version.

Read more...

§777 · March 2, 2020 · CoCo, Urbane · (No comments) ·


LEFT ARROW MOVES LEFT. RIGHT MOVES RIGHT. SHIFT-LEFT IS BKSP. SHIFT-RIGHT IS DEL. UP MOVES UP. DOWN MOVES DOWN. SHIFT-UP EXITS. SHIFT-DOWN TOGGLES INSERT. ENTER OPENS A LINE. ALT ENTER DELETES A LINE. ALT IS SHIFT-CLEAR. ON VCC ALT IS SHIFT-HOME. ALT PRINTS NEXT CHARACTER.

Read more...

§774 · February 27, 2020 · CoCo, Urbane · (No comments) ·


So far I have a screen editor loosely based on FLEXIKEY. * LEFT ARROW MOVES LEFT. RIGHT MOVES RIGHT. SHIFT-LEFT IS BKSP. SHIFT-RIGHT IS DEL. * UP MOVES UP. SHIFT-DOWN TOGGLES INSERT. DOWN MOVES DOWN. SHIFT-UP EXITS. ENTER OPENS LINE. ALT THEN ENTER DELETES LINE. * ALT is SHIFT-CLEAR. ON Vcc it is SHIFT-HOME. * […]

Read more...

§768 · February 23, 2020 · CoCo, Urbane · (No comments) ·


April 16, 2016 I have discovered that you don’t actually have to close Vcc or all your PC editors in order to avoid errors when you work on a .DSK image file in CoCoDskUtil. You do need to navigate away from the folder in question in CoCoDskUtil, and open a different .DSK file in CoCoDskUtil. […]

Read more...

§740 · April 16, 2016 · Uncategorized · (No comments) ·


This Example responds to double <enter-key>s. In addition to the three Android classes used in the previous Example, it uses a MotionEvent. EmptyEnter.java import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.support.v4.content.LocalBroadcastManager; import android.text.Editable; import android.text.TextWatcher; import android.util.Log; import android.view.inputmethod.EditorInfo; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.View; import android.widget.EditText; public class […]

Read more...

§670 · April 24, 2013 · Android · (No comments) ·


A dependable way to respond to the <enter-key> in an EditText is with a TextWatcher, a LocalBroadcastManager, and a BroadcastReceiver. I think you need to add the v4 support library to use the LocalBroadcastManager. I use the tutorial at vogella.com: 7.3 “Local broadcast events with LocalBroadcastManager” because of its complete concise code Example. In onTextChanged […]

Read more...

§634 · April 21, 2013 · Android · (No comments) ·


I took some time out to update the downloads in Android Questions, using the things I had learned while developing abicus, and I posted an excerpt from a comment on my blog’s EditText Enter Key post on stackoverflow.

Read more...

§591 · April 11, 2013 · Android · (No comments) ·


Added gosub and on i gosub a,b,c and return. I had all kinds of trouble until I knocked off and went to sleep for the night. When I woke up the next day it was simple pie. I couldn’t figure out what was so hard the night before.

Read more...

§567 · April 8, 2013 · Uncategorized · (No comments) ·