473,587 Members | 2,509 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2210
"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
1029
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 and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
2
1892
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 cannot see them in the task bar and you have to alt-tab to flick through them.
11
2907
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 application. The program took 10 hrs to crunch a particular batch of data. I also compiled with Open Watcom 1.1 with similar results. However, I compiled the program on Linux (I have a dual boot system) with gcc, and it took 12 MINUTES to crunch the...
6
1228
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 the only one? Dos is not the issue! It's weather or not C programming is still excepted by users writing programs for the DOS operating
22
2093
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
8036
by: Nikolay Petrov | last post by:
How can I convert DOS cyrillic text to Unicode
4
7250
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 screen! Anyone help me? What´s is wrong? This code return the DOS version. #include <stdio.h> #include <dos.h> #include <conio.h> //use getch() e clrscr()
8
1768
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, Visual Age C++ 6 compiler #include <pair> using namespace std; // value typedef
55
12784
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 time ago I worked in DOS, with Borland BC++ 4.1. I do not have it any more. Which compiler would you recommend me now? Which ones support serious DOS program development? Criterion should be number of available free library modules (graphic menu...
9
2402
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. Communications on the Windows PCs use a class derived from CAsyncSocket(). I have written client and server versions of my software for use on the appropriate PCs. I am also using communicating with a legacy DOS based system, with the software...
0
7923
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7852
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8216
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8221
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6629
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5395
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3845
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3882
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2364
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.