I've now semi-completed writing a program in assembly that with *WEB www.example.com executes a telnet GET request and scrapes the HTML in to a file to be read back with *WeBBC. However rather annoyingly it is working within BeebEm but on either of my M128s it fails at loading in the command tail i.e, *WEB <TAIL>. In BeebEm configured as a BBC M128 after reading in the tail it then send the telnet request, receives the page and saves it, however on the real machines it hangs after loading.
Both machines have econet, one has a copro (disabled) and a 1mhz scsi with all rom banks (apart from 4x sideways ram) populated. The other is essentially a stock M128 with no upgrades aside from econet. These are the address spaces I'm using with &70 as the zero page address for the tail program above. I've tried running from dfs, adfs and net all freeze.
This is only my second time programming in assembly after writing a simple terminal programming last week so I'm still getting to grips with which areas of memory can be used, however based on the information I've read through I think these addresses should be OK.
cmdline stores the web address (using the mdfs example above), filename stores the name of the file to save the HTML to (which at the moment is 'temp') and channel stores the file location as returned by OSFIND.
Both machines have econet, one has a copro (disabled) and a 1mhz scsi with all rom banks (apart from 4x sideways ram) populated. The other is essentially a stock M128 with no upgrades aside from econet. These are the address spaces I'm using with &70 as the zero page address for the tail program above. I've tried running from dfs, adfs and net all freeze.
This is only my second time programming in assembly after writing a simple terminal programming last week so I'm still getting to grips with which areas of memory can be used, however based on the information I've read through I think these addresses should be OK.
cmdline stores the web address (using the mdfs example above), filename stores the name of the file to save the HTML to (which at the moment is 'temp') and channel stores the file location as returned by OSFIND.
Code:
addr = &70cmdline = &5000filename = &5050channel = &5060ORG &2000
Statistics: Posted by vela025 — Tue Mar 25, 2025 12:55 pm