You are not logged in -
nap
CSDb User Forums
Forums
>
C64 Coding
>
Understanding kernal names CHKIN and CHKOUT
2014-05-14
13:11
Ghostrider
Administrator
Posts: 45
Understanding kernal names CHKIN and CHKOUT
The kernal input/output routines have names given by Commodore in the C64 Programmer's Reference Guide (among other places). Some of these names can seem a bit cryptic at first, like the name SETLFS which apparently means "SET Logical, First, and Secondary addresses", even though at first just mentioned as "Set up a logical file".
Now, for the names CHKIN and CHKOUT, which define a channel as input or output, the CH part probably stands for CHannel, and the IN/OUT parts for INput and OUTput. But what about the K???
To me, "checkin" or "checkout" does not seem likely, as I cannot find the word "check" used in this connection by Commodore. It cannot stand for Keyboard, as the functions deal with other devices as well. Standing for Kernal perhaps... no, this explanation does not seem entirely satisfying in this connection. Why mention the kernal in this kernal function and not in the others.
Sometimes the clues to Commodore's naming of these labels are hidden away in a sentence somewhere, even in other manuals and books.
Has anybody encountered a hint about the missing K somewhere?
Or has a guess?
... 10 posts hidden. Click
here
to view all posts....
2014-05-16
06:47
Oswald
Registered: Apr 2002
Posts: 5094
soci has leading
2014-05-16
07:56
Ghostrider
Administrator
Posts: 45
I agree, soci's answer seems most plausible to me. It is supported by the fact that: of all the names mentioned under "user callable kernal routines" in the C64 Prog.Ref.Guide, the only name where it is obvious that "channel" is part of the name, is in CLRCHN, where they chose to represent "channels" by CHN. As Urban Space Cowboy hints at, they probably wanted to eliminate the two functions being mistaken for "character in" and "character out" (CHRIN/CHROUT), and therefore "CHIN" and "CHOUT" would have been bad choices of naming, so they needed another letter instead of the R of CHRIN/CHROUT. Had they wanted the word "channel" in the two names then they would have probably become "CHNIN" and "CHNOUT", consistent with CLRCHN. So, to me, CHange Kernal INput/OUTput seems most likely - and actually makes sense :)
Previous
-
1
| 2 - Next
Refresh
Subscribe to this thread:
You need to be logged in to post in the forum.
Search the forum:
Search
All forums
C64 Coding
C64 Composing
C64 Pixeling
C64 Productions
CSDb Bug Reports
CSDb Development
CSDb Discussions
CSDb Entries
CSDb Feedback
CSDb Info
CSDb moderators
CSDb Questions
Messages to moderators
Requests
for
in
Writer & text
Text
Writer
All times are CET.
Search CSDb
All
Releases
Groups
Sceners
Events
BBS
SIDs
-------
Forum
Comments
Advanced
Users Online
zscs
rexbeng
Paulko64
iceout/Avatar/HF
Peacemaker/CENSOR/Hi..
Guests online: 101
Top Demos
1
Next Level
(9.7)
2
13:37
(9.7)
3
Mojo
(9.7)
4
Coma Light 13
(9.6)
5
Edge of Disgrace
(9.6)
6
What Is The Matrix 2
(9.6)
7
The Demo Coder
(9.6)
8
Uncensored
(9.6)
9
Comaland 100%
(9.6)
10
Wonderland XIV
(9.6)
Top onefile Demos
1
No Listen
(9.6)
2
Layers
(9.6)
3
Cubic Dream
(9.6)
4
Party Elk 2
(9.6)
5
Copper Booze
(9.6)
6
Dawnfall V1.1
(9.5)
7
Rainbow Connection
(9.5)
8
Onscreen 5k
(9.5)
9
Morph
(9.5)
10
Libertongo
(9.5)
Top Groups
1
Performers
(9.3)
2
Booze Design
(9.3)
3
Oxyron
(9.3)
4
Triad
(9.3)
5
Censor Design
(9.3)
Top Crackers
1
Mr. Z
(9.9)
2
Antitrack
(9.8)
3
OTD
(9.8)
4
Fungus
(9.8)
5
S!R
(9.8)
Home
-
Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.038 sec.