473,320 Members | 1,902 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

sources for DOS-16bit

Hi all,

before I decided to bother you by e-mail, I spent days (not kidding)
searching on the Internet. I am looking for Python binaries for
DOS-16bit!!!!
Not for Win-16bit or DOS-32 which are the only DOS availabele sources
on Python official site and on the other sites as well!!!
I will prefere sources for Borland C 3.x.

I was trying to use Python 1.0.1 (16python.exe file) for my
application,
but I realized it doesn't work on NEC V25 CPU (8086/8088 compatible
CPU developed by NEC).

I was involved in to our school computer "research" :) and we need
this piece of code to reach our goal.

We have to demonstrate the power of the free software (mainly its
compatiblity for different platforms)!!!

Can you please search your archives or route me somewhere?
I will really appreciate your answer and help
Petr Jakes
Gymnasium student
Jicin
Czech republic

Jul 18 '05 #1
3 2197
"McBooCzech" <pe**@tpc.cz> writes:
before I decided to bother you by e-mail, I spent days (not kidding)
searching on the Internet. I am looking for Python binaries for
DOS-16bit!!!!


I think this is hopeless. Python is too memory hungry for that.
Jul 18 '05 #2
McBooCzech wrote:
I am looking for Python binaries for DOS-16bit!!!!
Not for Win-16bit or DOS-32 which are the only DOS availabele sources
on Python official site and on the other sites as well!!!
I will prefere sources for Borland C 3.x.

I was trying to use Python 1.0.1 (16python.exe file) for my
application,
but I realized it doesn't work on NEC V25 CPU (8086/8088 compatible
CPU developed by NEC).

I was involved in to our school computer "research" :) and we need
this piece of code to reach our goal.

We have to demonstrate the power of the free software (mainly its
compatiblity for different platforms)!!!

Can you please search your archives or route me somewhere?


Does it have to be Python? There are other languages that
are arguably as portable, and certainly more compact. Lua,
for example, has been ported to quite small devices. See
http://www.lua.org/ for more on that, but note there are
other options as well. Python's not the only "free portable
software" around, though it's the best in many ways.

-Peter
Jul 18 '05 #3
On Fri, 2004-12-10 at 16:30, Peter Hansen wrote:
McBooCzech wrote:
I am looking for Python binaries for DOS-16bit!!!!
Not for Win-16bit or DOS-32 which are the only DOS availabele sources
on Python official site and on the other sites as well!!!
I will prefere sources for Borland C 3.x.

I was trying to use Python 1.0.1 (16python.exe file) for my
application,
but I realized it doesn't work on NEC V25 CPU (8086/8088 compatible
CPU developed by NEC).

I was involved in to our school computer "research" :) and we need
this piece of code to reach our goal.

We have to demonstrate the power of the free software (mainly its
compatiblity for different platforms)!!!

Can you please search your archives or route me somewhere?


Does it have to be Python? There are other languages that
are arguably as portable, and certainly more compact. Lua,
for example, has been ported to quite small devices. See
http://www.lua.org/ for more on that, but note there are
other options as well. Python's not the only "free portable
software" around, though it's the best in many ways.

You may want to consider some of the programming languages of the day.
Pascal comes to mind; it was popular when the 8086 was "The Machine to
Own" (tm). Much as Java of a decade and a half later had "bytecode",
there was a byte code for pascal called "p-code" courtesy of UCSD.
Look at wikipedia.org for the "pascal programming language." There
are executables and source code files for lots of pascal compilers.
IMHO this is your best chance at getting a complex program into a
limited machine.

For more insight, look at uClinux and elks. They are both linux
derivatives for small machines like the 8086.

BTW, how much RAM does your machine have? Also, remember that if your
chip is anything like the V20 or V30 from NEC it also can emulate the
8080 (which the Z80 is a clone of.) I have no clue how to use this
mode.

I might be recalling this incorrectly, but the V20 and V30 do have one
incompatibility with the 8086. There is an op code called AAD. It was
intended to help with BCD (base 10) arithmetic and would basically
perform the operation 10 * X + Y. The value 10 happened to be encoded
into the op code. The 8086, when executing this operation, would pull
the value from the op code. The V20-V30 would pull it from a constants
table. So, using any value other than 10 would result in the operation
K * X + Y for some unsigned 4 bit value; on the V20-V30 it was an
undefined operation. What this an accident? I don't know, but a lot of
assembly coders came to depend on the one or two CPU cycles it would
save over a proper mul and add. One or two cycles per array reference
was a big thing back then ...

Anyhow, sorry about babbling on about this non-python related nonsense
and good luck.

Adam DePrince
Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: RDJ | last post by:
=== This is a AoooAoooA project (^_^) === DictObjSys (DOS): Dictionary Objects System V.0.0.1 (2004 Oct 26) Copyright (C) 2004 RDJ This library is free software; you can redistribute it...
2
by: Maryam | last post by:
Is a split window possible for an MS DOS program and MS Access program?? If so how??? When you run a DOS programn it covers the whole of the PC screen and if you have other applications you...
11
by: Brett | last post by:
Hi. I wrote a program in C that spends most of its time doing integer arithmetic (on a data set loaded at run time), with a negligible amount of I/O. I compiled it with lcc-win32 as a console...
6
by: ~neil~ | last post by:
Hello I was asked to try another group in an earlier post, I was writing the program in C inside a DOS window. Software of choice -> (Borland Turbo C++ 1.0). Nobody uses DOS anymore?...I'm I...
22
by: Stan Weiss | last post by:
I have a program writeen in Microsoft QC 2.5 for DOS which has a very simple interface of using printf and sscanf also gets and puts. Is there an easy way to convert this to Window? Thanks Stan
10
by: Nikolay Petrov | last post by:
How can I convert DOS cyrillic text to Unicode
4
by: Bruno Barros | last post by:
Hello, I don´t know if union REGS <dos.h> is part of this group, but i have a problem. At the moment i use turboc++lite and i don´t have reply when i execute the question code. Only a black...
8
by: vitalyt | last post by:
Hi, I have cpp file which consist nested templates. Compilation time without optimization is 1-2 minutes, with -O2 turned on more then 5 hours. :( Could anybody help with that problem? AIX 5.2,...
55
by: Steve | last post by:
I have to develop several large and complex C++ hardware test programs that should work under DOS, most likely with 32-bit DOS extender. Development workstation OS would be Microsoft XP. Quite some...
9
by: =?Utf-8?B?SG93YXJkIFNtaXRo?= | last post by:
I am using VC++ 6.0 (with SP5 installed). When using WinXP this is with SP2 installed. I am developing an instrumentation system comprising a set of networked PCs connected using TCP/IP TCP links....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.