Search found 603 matches

by Xiphod
Wed Apr 16, 2025 11:52 pm
Forum: Libraries and Examples
Topic: X16 User Port Usage Example (that KX-P2023 printer!!)
Replies: 8
Views: 12545

Re: X16 User Port Usage Example (that KX-P2023 printer!!)

Well, I still can't get a regular PC parallel port to read the byte through the OS. Tried using an old WinXP laptop with a native parallel port and BIOS that supports bi-directional. Using the Parallel Port Tester software, I do get the STROBE indicator to flash. But that Tester seems to be only old...
by Xiphod
Tue Apr 15, 2025 8:48 am
Forum: Libraries and Examples
Topic: X16 User Port Usage Example (that KX-P2023 printer!!)
Replies: 8
Views: 12545

Re: X16 User Port Usage Example (that KX-P2023 printer!!)

Keyboard controlled output to the Data Pins on the UserPort. Kind of an "interactive" version of the typical beginner Arduino project. KEY 1-7 to toggle each of DataPins 1-7 KEY 8 Toggles the current state of all the data pins KEY 9 Turns all Data Pins ON KEY 0 Turns all Data Pins OFF A / ...
by Xiphod
Wed Apr 09, 2025 3:34 am
Forum: Libraries and Examples
Topic: X16 User Port Usage Example (that KX-P2023 printer!!)
Replies: 8
Views: 12545

Re: X16 User Port Usage Example (that KX-P2023 printer!!)

C version of the prior ACME code. PRG compiled with cc65. Spams "commander x16" out of the UserPort in a loop. DSView filtered to show the bytes as ASCII. IMG_4277A.jpg NOTE: Updated userport.c (added comments and re-arranged order a little bit, but resulting PRG build is the same) NOTE: N...
by Xiphod
Sat Apr 05, 2025 5:59 am
Forum: Libraries and Examples
Topic: X16 User Port Usage Example (that KX-P2023 printer!!)
Replies: 8
Views: 12545

Re: X16 User Port Usage Example (that KX-P2023 printer!!)

Compiled the sample.a using ACME 6502 assembler

Only change was having these two lines at the top

Code: Select all

!to "SAMPLE2.PRG", cbm
!cpu 6502
And uncommenting some of the data-direction setup code.

Feeling like a LAPLINK cable to xfer data between these systems is going to be possible.
by Xiphod
Sat Apr 05, 2025 5:56 am
Forum: Libraries and Examples
Topic: X16 User Port Usage Example (that KX-P2023 printer!!)
Replies: 8
Views: 12545

Re: X16 User Port Usage Example (that KX-P2023 printer!!)

Hooked the X16 UserPort output up to a logic analyzer. I'm not aware of any ready-made 26-pin to DB25 25-pin adapters, so got one of those green "breakout box" adapter things to wire it up myself. I was messing with LAPLink and FileMaven recently for something else, so got to thinking a si...
by Xiphod
Wed Mar 26, 2025 7:04 am
Forum: Works In-Progress Discussion
Topic: AGI Interpreter February 2025 Update
Replies: 14
Views: 24219

Re: AGI Interpreter February 2025 Update

Haha! I first experienced that audio on the Tandy 1000SX, never actually had a PCjr. Which yes, those systems had numerous issues- a lousy wireless keyboard, sidecar expansion similar to what the TI-99/4 had already tried earlier, its own proprietary cassette cable and joystick interface. In KQ2, up...
by Xiphod
Sat Mar 22, 2025 7:18 pm
Forum: CX16 General Chat
Topic: Cases???
Replies: 12
Views: 12399

Re: Cases???

Not really. When was the last time you saw software being offered on disk or CDs? There's just not enough market for it. I wish the "industry" would standardize on a form factor for mounting an SD card-slot at the front of these cases. Like a modern version of a tiny disk drive. Even if t...
by Xiphod
Fri Mar 21, 2025 2:33 am
Forum: Games
Topic: GalaX16
Replies: 8
Views: 10905

Re: GalaX16

Wow, yes, very playable! I've always wondered how the waves of patterns (of opponents) in encoded in these games. I've also wondered how "self demo play" was encoded in these early games (most arcade games had a timeout that would kick off a self-play demo, which I always assumed they just...
by Xiphod
Thu Mar 20, 2025 10:07 pm
Forum: Games
Topic: Crazy Solitaire
Replies: 7
Views: 11272

Re: Crazy Solitaire

Another observation: the score sometimes increments by 5 after just clicking the bottom facing card of a stack (not always; but seems if there are multiple facing cards in the stack it always increments by 5 after just clicking the card).
by Xiphod
Thu Mar 20, 2025 5:27 pm
Forum: Libraries and Examples
Topic: Mouse enable and clear mouse pointer for X16 (cc65 example with inline asm)
Replies: 3
Views: 7591

Mouse enable and clear mouse pointer for X16 (cc65 example with inline asm)

Example of getting the mouse cursor position, button state, scroll status, and clearing the mouse pointer. I forget how I learned that the current mouse pointer is at VRAM 1,$3000 (I don't see it mentioned in the X16 Tech Ref, similar that the current font is at VRAM 1,$F000; where is this "mem...