Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!news2.arglkargh.de!news.wiretrip.org!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python.': 0.05; '(except': 0.05; 'python': 0.07; 'received:81.103': 0.09; 'received:81.103.221': 0.09; 'received:81.103.221.35': 0.09; 'received:ispmail.ntl.com': 0.09; 'received:ntl.com': 0.09; 'binary': 0.14; 'amiga': 0.16; 'binary,': 0.16; 'error"': 0.16; 'jmp': 0.16; 'received:aamtaout02-winn.ispmail.ntl.com': 0.16; 'command': 0.19; 'code,': 0.20; 'code': 0.22; 'memory': 0.24; 'calling': 0.25; 'wrote': 0.25; 'expect': 0.26; 'tried': 0.27; 'problem': 0.29; 'push': 0.29; 'all.': 0.30; 'does': 0.31; 'to:addr:python-list': 0.32; 'asking': 0.32; 'pure': 0.33; 'using': 0.34; 'skip:" 10': 0.34; 'point': 0.35; 'routine': 0.35; 'yet,': 0.35; 'considered': 0.36; 'problem.': 0.36; 'machine': 0.37; 'exactly': 0.37; 'it!': 0.39; 'to:addr:python.org': 0.39; 'where': 0.39; 'except': 0.39; 'would': 0.40; 'from:no real name:2**0': 0.60; 'url:net': 0.62; 'and,': 0.63; 'url:search': 0.64; 'interest': 0.65; 'here': 0.65; 'don`t': 0.84; 'go...': 0.84 Date: Sun, 17 Apr 2011 13:15:01 +0100 From: To: Python Subject: An unusual question... MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) Sensitivity: Normal X-Originating-IP: from 217.39.32.97 by mail.tesco.net; Sun, 17 Apr 2011 13:15:01 +0100 X-Mailer: 4.2.7 X-Cloudmark-Analysis: v=1.1 cv=R50lirqlHffDPPkwUlkuVa99MrvKdVWo//yz83qex8g= c=1 sm=0 a=VGi4Nqwp24wA:10 a=IkcTkHD0fZMA:10 a=uVhb0EPuAAAA:8 a=nWwrNhkoAAAA:8 a=6bQkU-fnAAAA:8 a=8U90R8-UXkun4GPrTAUA:9 a=QEXdDO2ut3YA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 50 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1303042503 news.xs4all.nl 81478 [::ffff:82.94.164.166]:43953 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:3392 Hi coders... Before I start I don`t expect an easy answer except "No it can`t be done!". I have not tried it yet, I`m only asking for opinions ATM. (Except on the classic AMIGA and it DOES work for that!) I only want it to work in Linux/?IX. Windblows does not interest me at all. OK here we go... I can easily place a machine code, PURE binary, routine into Python. I can also find out where it is EXACTLY just as easily so this is not my problem. The problem is calling it! If I wrote an Assembly(/Assembler) routine to call this binary code using say the JMP instruction or using PUSH absolute value and RET, and, call these "Jump" using:- os.system("/full//path/to/Jump ") can I expect a "segmentation error" OR because the "Jump" command is already inside the Python terminal would this be considered inside Python`s working memory from the MMUs point of view? TIA... -- 73... Bazza, G0LCU... Team AMIGA... http://homepages.tesco.net/wisecracker/ http://main.aminet.net/search?readme=wisecracker http://mikeos.berlios.de/