VOGONS


Programming on the Pocket 8088

Topic actions

Reply 20 of 33, by DaveDDS

User metadata
Rank Oldbie
Rank
Oldbie
RetroPCCupboard wrote on 2025-08-04, 15:47:

... Umm, yeah. That is quite different. You are generating a COM I am making an EXE: ..

The difference between .COM and .EXE isn't much, just a header:

25-08-04  1:00p          551 HELLO2.COM        ;Both compiled in
25-08-04 1:02p 583 HELLO2.EXE ; Tiny model

I think you are thinking about the difference between TINY model (1 segment)
and other models with multiple segments = more init code to setup)

25-08-04  1:03p        1,079 HELLO2.EXE       ; Compiled in SMALL model

TINY map: (all blocks in a single 64 segment)
Start Stop Length Name Class
00000H 002D7H 002D8H CSEG CODE
002E0H 00326H 00047H DSEG IDATA
00327H 003D6H 000B0H BSEG UDATA
003D7H 003D7H 00001H MSEG UDATA
Program entry point at 0000:0100
Warning: no stack
SMALL map: (64k cpde + 64k data with InitedDATA overlapped)
Start Stop Length Name Class
00000H 001EFH 001F0H CSEG CODE
001F0H 00236H 00047H DSEG IDATA
00237H 002E6H 000B0H BSEG UDATA
002E7H 002E7H 00001H MSEG UDATA
002E8H 00327H 00040H SSEG STACK
Program entry point at 0000:0000

Dave ::: https://dunfield.themindfactory.com ::: "Daves Old Computers"->Personal

Reply 21 of 33, by DaveDDS

User metadata
Rank Oldbie
Rank
Oldbie
RetroPCCupboard wrote on 2025-08-04, 14:26:

... The TC thats on this device came preinstalled on it ...

Can you figure out which version it is?

I don't see/remember a way to display the compiler version inside of the TC.EXE interactive program,
but I do see the string "Version 2.0" within it.

Also the install program TCINST.EXE and the command line compiler TCC.EXE show version 2.0

Dave ::: https://dunfield.themindfactory.com ::: "Daves Old Computers"->Personal

Reply 22 of 33, by DaveDDS

User metadata
Rank Oldbie
Rank
Oldbie
RetroPCCupboard wrote on 2025-08-04, 17:15:
DaveDDS wrote on 2025-08-04, 12:51:

I do have an ancient "Poqet PC" ...

Don't go out of your way. But, if you are interested to find out, then it would be an interesting comparison

I don't normally use the POQET, so I don't keep batteries in it - the batteries in NVR "drives" died long ago, and I
don't have the official PoQet transfer cable/software - I was able to make a basic serial cable that works on it...

So I have to bootstrap my own DDLINK transfer program to it and then use that to transfer files... On "normal" systems,
this goes t 115200 bps serial speed - but the PoQet can't handle more than about 19200 - by the time I transfer the
compiler and related files - it can take some time...

I've also go a bit of a family emergency going on right now, so it may take few days....

Dave ::: https://dunfield.themindfactory.com ::: "Daves Old Computers"->Personal

Reply 23 of 33, by RetroPCCupboard

User metadata
Rank Oldbie
Rank
Oldbie
DaveDDS wrote on 2025-08-04, 17:50:
I don't normally use the POQET, so I don't keep batteries in it - the batteries in NVR "drives" died long ago, and I don't have […]
Show full quote

I don't normally use the POQET, so I don't keep batteries in it - the batteries in NVR "drives" died long ago, and I
don't have the official PoQet transfer cable/software - I was able to make a basic serial cable that works on it...

So I have to bootstrap my own DDLINK transfer program to it and then use that to transfer files... On "normal" systems,
this goes t 115200 bps serial speed - but the PoQet can't handle more than about 19200 - by the time I transfer the
compiler and related files - it can take some time...

I've also go a bit of a family emergency going on right now, so it may take few days....

That sounds like quite a hassle. Don't worry about it. Good luck with the family emergency!

Reply 24 of 33, by RetroPCCupboard

User metadata
Rank Oldbie
Rank
Oldbie
DaveDDS wrote on 2025-08-04, 17:40:
Can you figure out which version it is? […]
Show full quote
RetroPCCupboard wrote on 2025-08-04, 14:26:

... The TC thats on this device came preinstalled on it ...

Can you figure out which version it is?

I don't see/remember a way to display the compiler version inside of the TC.EXE interactive program,
but I do see the string "Version 2.0" within it.

Also the install program TCINST.EXE and the command line compiler TCC.EXE show version 2.0

I will try to figure out the version.

Reply 25 of 33, by RetroPCCupboard

User metadata
Rank Oldbie
Rank
Oldbie
DaveDDS wrote on 2025-08-04, 17:40:
Can you figure out which version it is? […]
Show full quote

Can you figure out which version it is?

I don't see/remember a way to display the compiler version inside of the TC.EXE interactive program,
but I do see the string "Version 2.0" within it.

Also the install program TCINST.EXE and the command line compiler TCC.EXE show version 2.0

TCINST and TCC both say Version 2.0. I am not sure what tool to use to look inside TC.exe. turbo debugger won't launch it to let me see the code of the program. Says not enough memory.

Reply 26 of 33, by DaveDDS

User metadata
Rank Oldbie
Rank
Oldbie

Somewhere on my site (look at the list of files in each archive), are FVT.COM and FVB.COM (File View Text/Binary) these will let you view very large files.. there is a search function - do a case insensitive searh for "version"

Dave ::: https://dunfield.themindfactory.com ::: "Daves Old Computers"->Personal

Reply 27 of 33, by RetroPCCupboard

User metadata
Rank Oldbie
Rank
Oldbie
DaveDDS wrote on Today, 01:19:

Somewhere on my site (look at the list of files in each archive), are FVT.COM and FVB.COM (File View Text/Binary) these will let you view very large files.. there is a search function - do a case insensitive searh for "version"

Many thanks. I will have to do that next week. I am away from home right now and have no way to get anything on or off the Pocket 8088. Having fun playing with this thing though.

I am currently doing the exercises in the book "Mastering Turbo Assembler" by Tom Swan. Its a shame that the first few exercises expect you to be hooked up to a parallel port dot matrix printer. But I did the exercises anyway, with no way to test them. Lol.

Oh and, when I am tired of learning, this device is great for playing Prince of Persia (have to switch to 10mhz speed for that). Bubble Ghost is just about playable also.

Reply 28 of 33, by DaveDDS

User metadata
Rank Oldbie
Rank
Oldbie
RetroPCCupboard wrote on Today, 06:59:

... Its a shame that the first few exercises expect you to be hooked up to a parallel port dot matrix printer ...

Is there a reason it hs to be a "dot matrix" printer?
Is it outputting graphics?
Is it doing something relying on "printing noise"?

I've not played with it much, but in DosBox you can set up a virtual parallel ports and printers.. it can do graphice and output to .PNG, .BMP etc.
(but will not sound like a dot-matric printer when you are printing)

and yes, TC/TASM/MASM etc. run well in DosBox

Dave ::: https://dunfield.themindfactory.com ::: "Daves Old Computers"->Personal

Reply 29 of 33, by RetroPCCupboard

User metadata
Rank Oldbie
Rank
Oldbie
DaveDDS wrote on Today, 07:28:
Is there a reason it hs to be a "dot matrix" printer? Is it outputting graphics? Is it doing something relying on "printing nois […]
Show full quote
RetroPCCupboard wrote on Today, 06:59:

... Its a shame that the first few exercises expect you to be hooked up to a parallel port dot matrix printer ...

Is there a reason it hs to be a "dot matrix" printer?
Is it outputting graphics?
Is it doing something relying on "printing noise"?

I've not played with it much, but in DosBox you can set up a virtual parallel ports and printers.. it can do graphice and output to .PNG, .BMP etc.
(but will not sound like a dot-matric printer when you are printing)

and yes, TC/TASM/MASM etc. run well in DosBox

The first example programs aren't outputting graphics. They are doing things like sending form feed command, line feed command, changing to 132 character lines rather than default 80 characters, and printing source code by DOS output redirection after switching printer mode.

Also stepping through code using turbo debugger and watching the printer react as you call INT 21h.

According to the book most developers of the time would print out hard copies of their assembled code using tasm /l or tasm /l/c then sending the *.lst file to the printer.....

Of course I wont be doing that, but I guess I could keep the *.lst files.

Reply 30 of 33, by Jo22

User metadata
Rank l33t++
Rank
l33t++
RetroPCCupboard wrote on Today, 06:59:

Oh and, when I am tired of learning, this device is great for playing Prince of Persia (have to switch to 10mhz speed for that). Bubble Ghost is just about playable also.

That's a classic! :)
There are many other cool games and applications that will run on an XT class PC, too!
The year is 1990 and you still have a PC/XT and can't upgrade. Which games are you playing?
You can even emulate 8052 AH BASIC or an Game Boy using NO$GB.
A free semiconductor database runs on it, too.

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 31 of 33, by RetroPCCupboard

User metadata
Rank Oldbie
Rank
Oldbie
Jo22 wrote on Today, 08:05:
That's a classic! :) There are many other cool games and applications that will run on an XT class PC, too! The year is 1990 and […]
Show full quote

That's a classic! 😀
There are many other cool games and applications that will run on an XT class PC, too!
The year is 1990 and you still have a PC/XT and can't upgrade. Which games are you playing?
You can even emulate 8052 AH BASIC or an Game Boy using NO$GB.
A free semiconductor database runs on it, too.

Thanks. I have tried a few games from that list. The biggest problem with many that use PC speaker for sound is that this device has no volume for it and is very loud (it does have volume for OPL3 sound). Also the speakers are very small and don't sound like an original PC speaker would. I have been making notes on the device of how the games performed:

The attachment 20250806_094904.jpg is no longer available
The attachment 20250806_094920.jpg is no longer available

I am wondering if I can add a switch to the device to mute the built-in speaker and, maybe, add a headphone-type socket for plugging in an external better sounding speaker.

There is already an audio jack that OPL3 comes out of, so I can use decent speakers for that. But PC speaker sounds don't come out of that jack.

Reply 32 of 33, by DaveDDS

User metadata
Rank Oldbie
Rank
Oldbie
RetroPCCupboard wrote on Today, 07:42:

According to the book most developers of the time would print out hard copies of their assembled code using tasm /l or tasm /l/c then sending the *.lst file to the printer.....

I never much did that "back in the day" .. might have something to do with my first "printer" being a Model-28 Teletype
(Massive, noisy, slow [50bps 5-bit baudot serial]) you can see a pic of it at: DavesOldComputers->Altair8800->PhotosCompleteSystem
8th one down - shows what I had before the Altair - homebuilt 8080 - late 70s

Instead, I created something I called TFB (Tsr File Browser), let me look at text files pretty much anywhere in DOS just by hitting Lshift+Rshift
- I still use it sometimes even today, and you can still get it from the downloads!

Last edited by DaveDDS on 2025-08-06, 13:10. Edited 1 time in total.

Dave ::: https://dunfield.themindfactory.com ::: "Daves Old Computers"->Personal

Reply 33 of 33, by RetroPCCupboard

User metadata
Rank Oldbie
Rank
Oldbie
DaveDDS wrote on Today, 09:38:
I never much did that "back in the day" .. might have something to do with my first "printer" being a Model-28 Teletype (Massive […]
Show full quote

I never much did that "back in the day" .. might have something to do with my first "printer" being a Model-28 Teletype
(Massive, noiy, slow [50bps 5-bit baudot serial]) you can see a pic of it at: DavesOldComputers->Altair8800->PhotosCompleteSystem
8th one down - shows what I had before the Altair - homebuilt 8080 - late 70s

Instead, I created something I called TFB (Tsr File Browser), let me look at text files pretty much anywhere in DOS just by hitting Lshift+Rshift
- I still use it sometimes even today, and you can still get it from the downloads!

Nice. I will have to check that out when i am back home