Jump to content
IGNORED

Chris Schneider's -- NEW NEWSLETTER


Omega-TI

Recommended Posts

All,


The November issue of the SHIFT838 Newsletter is out!


I have sent it to all my subscribers and below are links:


Web view:






PDF View:





I have noticed that on Windows 10 and the new Edge internet browser the PDF does not pull open. It does in other browsers like Chrome, etc. So if you get a error with Windows 10 and Edge that states:


'Couldn't open PDF'

'Something’s keeping this PDF from opening.'


There is a quick fix for it.


Left click on the 3 dots at top right of Edge browser then click on open with Internet Explorer. You will then have to navigate back to the http://shift838.wix.com/shift838pageand the newsletter section, then click on the PDF newsletter link. Adds a couple of seconds but works. Or you can just downloaded it from the FTP site with a FTP client and view.

  • Like 7
Link to comment
Share on other sites

The November issue of the SHIFT838 Newsletter is out!

 

Nice issue!

 

I believe I found bug in the KEYINPUT Assembly Tutorial #3 provided by Lee Stewart in this November 21, 2015 issue (Volume 1, Issue 11).

 

I was looking at adapting the KEYINPUT code for a utility I was working on, but the emulator kept locking up it I hit Backspace as the very first character of the input string.

 

The code is actually designed to check for this condition, but it doesn't work because it does a "B *R4" to return (instead of a RT or B *R11) and the R4 value hasn't been copied from R11 yet. I think this can be fixed by simply re-arranging some of the lines of code.

 

Original code snip:

 

BSPACE C R5,R6 first character?

JEQ BSPXIT return to caller if so

...

MOV R11,R4 save return

BL @CURBL call cursor blanking routine

LI R0,>2000 load blank

MOVB R0,*R5 blank last-written FNAME buffer position

DEC R5 decrement FNAME buffer pointer

DEC R7 decrement cursor pointer

...

BSPXIT B *R4 return to caller (to saved address)

 

Proposed correction to code snip:

 

BSPACE MOV R11,R4 save return

C R5,R6 first character?

JEQ BSPXIT return to caller if so

...

BL @CURBL call cursor blanking routine

LI R0,>2000 load blank

MOVB R0,*R5 blank last-written FNAME buffer position

DEC R5 decrement FNAME buffer pointer

DEC R7 decrement cursor pointer

...

BSPXIT B *R4 return to caller (to saved address)

Link to comment
Share on other sites

 

Nice issue!

 

I believe I found bug in the KEYINPUT Assembly Tutorial #3 provided by Lee Stewart in this November 21, 2015 issue (Volume 1, Issue 11).

 

I was looking at adapting the KEYINPUT code for a utility I was working on, but the emulator kept locking up it I hit Backspace as the very first character of the input string.

 

The code is actually designed to check for this condition, but it doesn't work because it does a "B *R4" to return (instead of a RT or B *R11) and the R4 value hasn't been copied from R11 yet. I think this can be fixed by simply re-arranging some of the lines of code.

 

Original code snip:

 

BSPACE C R5,R6 first character?

JEQ BSPXIT return to caller if so

...

MOV R11,R4 save return

BL @CURBL call cursor blanking routine

LI R0,>2000 load blank

MOVB R0,*R5 blank last-written FNAME buffer position

DEC R5 decrement FNAME buffer pointer

DEC R7 decrement cursor pointer

...

BSPXIT B *R4 return to caller (to saved address)

 

Proposed correction to code snip:

 

BSPACE MOV R11,R4 save return

C R5,R6 first character?

JEQ BSPXIT return to caller if so

...

BL @CURBL call cursor blanking routine

LI R0,>2000 load blank

MOVB R0,*R5 blank last-written FNAME buffer position

DEC R5 decrement FNAME buffer pointer

DEC R7 decrement cursor pointer

...

BSPXIT B *R4 return to caller (to saved address)

 

You are absolutely correct—my bad! Another way involves an extra line following the branch that requires the save, also changing the return line back to the normal RT or B *R11:

 

*== Backspace Routine ========================================================
* Erase cursor. Adjust cursor position if not at start of input
*
*: C = Compare 16-bit contents of source and destination operands, setting
*: or resetting the ST equal bit.
BSPACE C R5,R6 first character?
JEQ BSPXIT return to caller if so
*: At this point, we need to save R11 because we're about to call another sub-
*: routine with BL, which will destroy our return to the main program. We'd
*: be stuck in this subroutine forever!
MOV R11,R4 save return
BL @CURBL call cursor blanking routine
MOV R4,R11 restore return
LI R0,>2000 load blank
MOVB R0,*R5 blank last-written FNAME buffer position
DEC R5 decrement FNAME buffer pointer
DEC R7 decrement cursor pointer
*: B = Branch to address represented by the operand. In this case, *R4 means
*: the address contained in R4.
BSPXIT RT return to caller

 

...lee

Link to comment
Share on other sites

  • 3 weeks later...
All,


The December issue of the SHIFT838 Newsletter is out!


I have sent it to all my subscribers and below are links:


Web view:


NO longer available (takes twice the time to create a web and PDF view).




PDF View:





I have noticed that on Windows 10 and the new Edge internet browser the PDF does not pull open. It does in other browsers like Chrome, etc. So if you get a error with Windows 10 and Edge that states:


'Couldn't open PDF'

'Something’s keeping this PDF from opening.'


There is a quick fix for it.


Left click on the 3 dots at top right of Edge browser then click on open with Internet Explorer. You will then have to navigate back to the SHIFT838 page and the newsletter section, then click on the PDF newsletter link. Adds a couple of seconds but works. Or you can just downloaded it from the FTP site with a FTP client and view.

Edited by Cschneider
  • Like 7
Link to comment
Share on other sites

  • 4 weeks later...
All,


The January 2016 issue (Volume 2 Issue #1) of the SHIFT838 Newsletter is out!


I have sent it to all my subscribers and below is the link:


Web view:


NO longer available (takes twice the time to create a web and PDF view).




PDF View:





I have noticed that on Windows 10 and the new Edge internet browser the PDF does not pull open. It does in other browsers like Chrome, etc. So if you get a error with Windows 10 and Edge that states:


'Couldn't open PDF'

'Something’s keeping this PDF from opening.'


There is a quick fix for it.


Left click on the 3 dots at top right of Edge browser then click on open with Internet Explorer. You will then have to navigate back to the SHIFT838 page and the newsletter section, then click on the PDF newsletter link. Adds a couple of seconds but works. Or you can just downloaded it from the FTP site with a FTP client and view.

  • Like 6
Link to comment
Share on other sites

Edge Browser blows chunks and is a totally unfinished product thrust onto the public as BETA testers.

 

It only looks good for speed and that is about the only thing it has going for it.

 

Much like a Funny Car Dragster, really good in a straight line on a flat surface, but totally useless for everyday use.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...